ManagedRelationshipDescription constructor

ManagedRelationshipDescription(
  1. ManagedEntity? entity,
  2. String name,
  3. ManagedType? type,
  4. Type? declaredType,
  5. ManagedEntity? destinationEntity,
  6. DeleteRule? deleteRule,
  7. ManagedRelationshipType relationshipType,
  8. String? inverseKey, {
  9. bool unique = false,
  10. bool indexed = false,
  11. bool nullable = false,
  12. bool includedInDefaultResultSet = true,
  13. List<ManagedValidator?> validators = const [],
})

Implementation

ManagedRelationshipDescription(
    ManagedEntity? entity,
    String name,
    ManagedType? type,
    Type? declaredType,
    this.destinationEntity,
    this.deleteRule,
    this.relationshipType,
    this.inverseKey,
    {bool unique = false,
    bool indexed = false,
    bool nullable = false,
    bool includedInDefaultResultSet = true,
    List<ManagedValidator?> validators = const []})
    : super(entity, name, type, declaredType,
          unique: unique,
          indexed: indexed,
          nullable: nullable,
          includedInDefaultResultSet: includedInDefaultResultSet,
          validators: validators);