RetentionPolicy.fromJson constructor
RetentionPolicy.fromJson(
- Map json_
Implementation
RetentionPolicy.fromJson(core.Map json_)
: this(
backupDeleteLockDays: json_.containsKey('backupDeleteLockDays')
? json_['backupDeleteLockDays'] as core.int
: null,
backupRetainDays: json_.containsKey('backupRetainDays')
? json_['backupRetainDays'] as core.int
: null,
locked:
json_.containsKey('locked') ? json_['locked'] as core.bool : null,
);