TFieldRecord typedef
TFieldRecord = ({List<Map<String, dynamic> > ? children, String? columnDefault, String? description, Object? fieldPath, String? fieldType, bool? foreignKey, bool? nullable, bool? primaryKey, Object? references})
A record representing a field. Similar to FieldModel.
fieldPath is intentionally typed Object? so users can pass a
dot-separated String ('profile.id'), an Iterable<String>
(['profile', 'id']), or null. Normalisation to List<String>
happens via FieldUtils.fieldPathOrNull.
Implementation
typedef TFieldRecord = ({
Object? fieldPath,
String? fieldType,
bool? nullable,
List<Map<String, dynamic>>? children,
bool? primaryKey,
bool? foreignKey,
String? description,
Object? references,
String? columnDefault,
});