RestoreBackupContext.fromJson constructor

RestoreBackupContext.fromJson(
  1. Map _json
)

Implementation

RestoreBackupContext.fromJson(core.Map _json)
    : this(
        backupRunId: _json.containsKey('backupRunId')
            ? _json['backupRunId'] as core.String
            : null,
        instanceId: _json.containsKey('instanceId')
            ? _json['instanceId'] as core.String
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        project: _json.containsKey('project')
            ? _json['project'] as core.String
            : null,
      );