CustomFieldContextOption.fromJson constructor

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

Implementation

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