TransitionState.fromJson constructor

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

Implementation

factory TransitionState.fromJson(Map<String, dynamic> json) {
  return TransitionState(
    disabledReason: json['disabledReason'] as String?,
    enabled: json['enabled'] as bool?,
    lastChangedAt: timeStampFromJson(json['lastChangedAt']),
    lastChangedBy: json['lastChangedBy'] as String?,
  );
}