BackupConfig.fromJson constructor
BackupConfig.fromJson(
- Map json_
Implementation
BackupConfig.fromJson(core.Map json_)
: this(
allNamespaces: json_.containsKey('allNamespaces')
? json_['allNamespaces'] as core.bool
: null,
encryptionKey: json_.containsKey('encryptionKey')
? EncryptionKey.fromJson(
json_['encryptionKey'] as core.Map<core.String, core.dynamic>)
: null,
includeSecrets: json_.containsKey('includeSecrets')
? json_['includeSecrets'] as core.bool
: null,
includeVolumeData: json_.containsKey('includeVolumeData')
? json_['includeVolumeData'] as core.bool
: null,
permissiveMode: json_.containsKey('permissiveMode')
? json_['permissiveMode'] as core.bool
: null,
selectedApplications: json_.containsKey('selectedApplications')
? NamespacedNames.fromJson(json_['selectedApplications']
as core.Map<core.String, core.dynamic>)
: null,
selectedNamespaces: json_.containsKey('selectedNamespaces')
? Namespaces.fromJson(json_['selectedNamespaces']
as core.Map<core.String, core.dynamic>)
: null,
);