CleanupPolicyMostRecentVersions.fromJson constructor

CleanupPolicyMostRecentVersions.fromJson(
  1. Map json_
)

Implementation

CleanupPolicyMostRecentVersions.fromJson(core.Map json_)
    : this(
        keepCount: json_.containsKey('keepCount')
            ? json_['keepCount'] as core.int
            : null,
        packageNamePrefixes: json_.containsKey('packageNamePrefixes')
            ? (json_['packageNamePrefixes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );