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 [],
- ResponseKey? responseKey,
- ResponseModel? responseModel}
)
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 [],
ResponseKey? responseKey,
ResponseModel? responseModel,
}) {
return ManagedRelationshipDescription(
entity,
name,
type,
T,
destinationEntity,
deleteRule,
relationshipType,
inverseKey,
unique: unique,
indexed: indexed,
nullable: nullable,
includedInDefaultResultSet: includedInDefaultResultSet,
validators: validators,
responseKey: responseKey,
responseModel: responseModel,
);
}