SerializableModelFieldDefinition constructor
SerializableModelFieldDefinition({
- required String name,
- required TypeDefinition type,
- required ModelFieldScopeDefinition scope,
- required bool shouldPersist,
- dynamic defaultModelValue,
- dynamic defaultPersistValue,
- RelationDefinition? relation,
- List<
String> ? documentation,
Create a new SerializableModelFieldDefinition.
Implementation
SerializableModelFieldDefinition({
required this.name,
required this.type,
required this.scope,
required this.shouldPersist,
this.defaultModelValue,
this.defaultPersistValue,
this.relation,
this.documentation,
});