ImportContextBakImportOptions.fromJson constructor

ImportContextBakImportOptions.fromJson(
  1. Map json_
)

Implementation

ImportContextBakImportOptions.fromJson(core.Map json_)
    : this(
        bakType: json_.containsKey('bakType')
            ? json_['bakType'] as core.String
            : null,
        encryptionOptions: json_.containsKey('encryptionOptions')
            ? ImportContextBakImportOptionsEncryptionOptions.fromJson(
                json_['encryptionOptions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        noRecovery: json_.containsKey('noRecovery')
            ? json_['noRecovery'] as core.bool
            : null,
        recoveryOnly: json_.containsKey('recoveryOnly')
            ? json_['recoveryOnly'] as core.bool
            : null,
        stopAt: json_.containsKey('stopAt')
            ? json_['stopAt'] as core.String
            : null,
        stopAtMark: json_.containsKey('stopAtMark')
            ? json_['stopAtMark'] as core.String
            : null,
        striped: json_.containsKey('striped')
            ? json_['striped'] as core.bool
            : null,
      );