RestoreServiceRequest.fromJson constructor

RestoreServiceRequest.fromJson(
  1. Map _json
)

Implementation

RestoreServiceRequest.fromJson(core.Map _json)
    : this(
        backup: _json.containsKey('backup')
            ? _json['backup'] as core.String
            : null,
        requestId: _json.containsKey('requestId')
            ? _json['requestId'] as core.String
            : null,
        restoreType: _json.containsKey('restoreType')
            ? _json['restoreType'] as core.String
            : null,
      );