RollbackAttempt.fromJson constructor

RollbackAttempt.fromJson(
  1. Map json_
)

Implementation

RollbackAttempt.fromJson(core.Map json_)
    : this(
        destinationPhase: json_.containsKey('destinationPhase')
            ? json_['destinationPhase'] as core.String
            : null,
        rolloutId: json_.containsKey('rolloutId')
            ? json_['rolloutId'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        stateDesc: json_.containsKey('stateDesc')
            ? json_['stateDesc'] as core.String
            : null,
      );