ContinuousBackupInfo.fromJson constructor

ContinuousBackupInfo.fromJson(
  1. Map json_
)

Implementation

ContinuousBackupInfo.fromJson(core.Map json_)
    : this(
        earliestRestorableTime: json_.containsKey('earliestRestorableTime')
            ? json_['earliestRestorableTime'] as core.String
            : null,
        enabledTime: json_.containsKey('enabledTime')
            ? json_['enabledTime'] as core.String
            : null,
        encryptionInfo: json_.containsKey('encryptionInfo')
            ? EncryptionInfo.fromJson(json_['encryptionInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        schedule: json_.containsKey('schedule')
            ? (json_['schedule'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );