CustomFieldDefinitionJsonBean.fromJson constructor

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

Implementation

factory CustomFieldDefinitionJsonBean.fromJson(Map<String, Object?> json) {
  return CustomFieldDefinitionJsonBean(
    description: json[r'description'] as String?,
    name: json[r'name'] as String? ?? '',
    searcherKey: json[r'searcherKey'] != null
        ? CustomFieldDefinitionJsonBeanSearcherKey.fromValue(
            json[r'searcherKey']! as String)
        : null,
    type: json[r'type'] as String? ?? '',
  );
}