LatestBackup.fromJson constructor

LatestBackup.fromJson(
  1. Map json_
)

Implementation

LatestBackup.fromJson(core.Map json_)
    : this(
        backupId: json_.containsKey('backupId')
            ? json_['backupId'] as core.String
            : null,
        duration: json_.containsKey('duration')
            ? json_['duration'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );