ManagedAttributeDescription
make<T>(- ManagedEntity entity,
- String name,
- ManagedType type,
- {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 [],
- ResponseKey? responseKey,
- ResponseModel? responseModel}
)
Implementation
static ManagedAttributeDescription make<T>(
ManagedEntity entity,
String name,
ManagedType type, {
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 [],
ResponseKey? responseKey,
ResponseModel? responseModel,
}) {
return ManagedAttributeDescription(
entity,
name,
type,
T,
transientStatus: transientStatus,
primaryKey: primaryKey,
defaultValue: defaultValue,
unique: unique,
indexed: indexed,
nullable: nullable,
includedInDefaultResultSet: includedInDefaultResultSet,
autoincrement: autoincrement,
validators: validators,
responseKey: responseKey,
responseModel: responseModel,
);
}