InstanceStateChangeReason.fromJson constructor

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

Implementation

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