Restore.fromJson constructor

Restore.fromJson(
  1. Map json_
)

Implementation

Restore.fromJson(core.Map json_)
    : this(
        backup: json_.containsKey('backup')
            ? json_['backup'] as core.String
            : null,
        backupLocation: json_.containsKey('backupLocation')
            ? json_['backupLocation'] as core.String
            : null,
        details: json_.containsKey('details')
            ? json_['details'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );