UpdateCustomFieldDetails.fromJson constructor

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

Implementation

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