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,
        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,
      );