SelectorField constructor
SelectorField({})
Implementation
SelectorField({
required super.name,
required this.model,
required this.titleFields,
String? virtualField,
String? id,
super.showInList,
super.isRequired,
super.sort,
super.validator,
super.type = FieldType.selectorField,
}) : virtualField = virtualField ?? '\$${id ?? toSnakeCase(name)}',
super(id: id ?? toSnakeCase(name));