ManagedAttributeDescription constructor
ManagedAttributeDescription(
- ManagedEntity entity,
- String name,
- ManagedType type,
- Type? declaredType, {
- Serialize? transientStatus,
- bool primaryKey = false,
- String? defaultValue,
- bool unique = false,
- bool indexed = false,
- bool nullable = false,
- bool includedInDefaultResultSet = true,
- bool autoincrement = false,
- List<
ManagedValidator> validators = const [], - ResponseModel? responseModel,
- ResponseKey? responseKey,
Implementation
ManagedAttributeDescription(
super.entity,
super.name,
ManagedType super.type,
super.declaredType, {
this.transientStatus,
bool primaryKey = false,
this.defaultValue,
super.unique,
super.indexed,
super.nullable,
super.includedInDefaultResultSet,
super.autoincrement,
super.validators,
super.responseModel,
super.responseKey,
}) : isPrimaryKey = primaryKey;