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,
        backupLocation: json_.containsKey('backupLocation')
            ? json_['backupLocation'] as core.String
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
        restoreType: json_.containsKey('restoreType')
            ? json_['restoreType'] as core.String
            : null,
      );