FieldConfigurationItem.fromJson constructor

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

Implementation

factory FieldConfigurationItem.fromJson(Map<String, Object?> json) {
  return FieldConfigurationItem(
    description: json[r'description'] as String?,
    id: json[r'id'] as String? ?? '',
    isHidden: json[r'isHidden'] as bool? ?? false,
    isRequired: json[r'isRequired'] as bool? ?? false,
    renderer: json[r'renderer'] as String?,
  );
}