CancelReplayResponse.fromJson constructor

CancelReplayResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CancelReplayResponse.fromJson(Map<String, dynamic> json) {
  return CancelReplayResponse(
    replayArn: json['ReplayArn'] as String?,
    state: (json['State'] as String?)?.toReplayState(),
    stateReason: json['StateReason'] as String?,
  );
}