CustomFieldContextDefaultValueSingleOption.fromJson constructor

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

Implementation

factory CustomFieldContextDefaultValueSingleOption.fromJson(
    Map<String, Object?> json) {
  return CustomFieldContextDefaultValueSingleOption(
    contextId: json[r'contextId'] as String? ?? '',
    optionId: json[r'optionId'] as String? ?? '',
    type: json[r'type'] as String? ?? '',
  );
}