Backup.fromJson constructor

Backup.fromJson(
  1. Map json_
)

Implementation

Backup.fromJson(core.Map json_)
    : this(
        encryptionInfo: json_.containsKey('encryptionInfo')
            ? EncryptionInfo.fromJson(json_['encryptionInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        sizeBytes: json_.containsKey('sizeBytes')
            ? json_['sizeBytes'] as core.String
            : null,
        sourceBackup: json_.containsKey('sourceBackup')
            ? json_['sourceBackup'] as core.String
            : null,
        sourceTable: json_.containsKey('sourceTable')
            ? json_['sourceTable'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );