CustomFieldOptionCreate.fromJson constructor

CustomFieldOptionCreate.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory CustomFieldOptionCreate.fromJson(Map<String, Object?> json) {
  return CustomFieldOptionCreate(
    disabled: json[r'disabled'] as bool? ?? false,
    optionId: json[r'optionId'] as String?,
    value: json[r'value'] as String? ?? '',
  );
}