StepStateChangeReason.fromJson constructor

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

Implementation

factory StepStateChangeReason.fromJson(Map<String, dynamic> json) {
  return StepStateChangeReason(
    code: (json['Code'] as String?)?.toStepStateChangeReasonCode(),
    message: json['Message'] as String?,
  );
}