CustomFieldOptionUpdate.fromJson constructor

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

Implementation

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