ModelFieldDefinition constructor
const
ModelFieldDefinition({
- required String name,
- required ModelFieldType type,
- required bool isRequired,
- bool isArray = false,
- bool isReadOnly = false,
- ModelAssociation? association,
- List<
AuthRule> ? authRules,
Implementation
const ModelFieldDefinition({
required this.name,
required this.type,
required this.isRequired,
this.isArray = false,
this.isReadOnly = false,
this.association,
this.authRules,
});