StartReplayResponse.fromJson constructor

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

Implementation

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