CleanupPolicyCondition.fromJson constructor
CleanupPolicyCondition.fromJson(
- Map json_
Implementation
CleanupPolicyCondition.fromJson(core.Map json_)
: this(
newerThan: json_.containsKey('newerThan')
? json_['newerThan'] as core.String
: null,
olderThan: json_.containsKey('olderThan')
? json_['olderThan'] as core.String
: null,
packageNamePrefixes: json_.containsKey('packageNamePrefixes')
? (json_['packageNamePrefixes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
tagPrefixes: json_.containsKey('tagPrefixes')
? (json_['tagPrefixes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
tagState: json_.containsKey('tagState')
? json_['tagState'] as core.String
: null,
versionNamePrefixes: json_.containsKey('versionNamePrefixes')
? (json_['versionNamePrefixes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);