BackupInfo.fromJson constructor

BackupInfo.fromJson(
  1. Map json_
)

Implementation

BackupInfo.fromJson(core.Map json_)
    : this(
        backup: json_.containsKey('backup')
            ? json_['backup'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        sourceDatabase: json_.containsKey('sourceDatabase')
            ? json_['sourceDatabase'] as core.String
            : null,
        versionTime: json_.containsKey('versionTime')
            ? json_['versionTime'] as core.String
            : null,
      );