ImageBuilderStateChangeReason.fromJson constructor

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

Implementation

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