make<T> static method
ManagedRelationshipDescription
make<T>(
- ManagedEntity entity,
- String name,
- ManagedType type,
- ManagedEntity destinationEntity,
- DeleteRule deleteRule,
- ManagedRelationshipType relationshipType,
- String inverseKey, {
- bool unique = false,
- bool indexed = false,
- bool nullable = false,
- bool includedInDefaultResultSet = true,
- List<
ManagedValidator> validators = const [],
Implementation
static ManagedRelationshipDescription make<T>(
ManagedEntity entity,
String name,
ManagedType type,
ManagedEntity destinationEntity,
DeleteRule deleteRule,
ManagedRelationshipType relationshipType,
String inverseKey,
{bool unique = false,
bool indexed = false,
bool nullable = false,
bool includedInDefaultResultSet = true,
List<ManagedValidator> validators = const []}) {
return ManagedRelationshipDescription(entity, name, type, T,
destinationEntity, deleteRule, relationshipType, inverseKey,
unique: unique,
indexed: indexed,
nullable: nullable,
includedInDefaultResultSet: includedInDefaultResultSet,
validators: validators);
}