ModelRelation class

ModelRelation describes a standalone relation

Constructors

ModelRelation.new({required IdUid id, required String name, required IdUid targetId, String? externalName, int? externalType})
ModelRelation.create(IdUid id, String? name, {String? targetId, String? targetName, int? externalType, String? externalName, bool uidRequest = false})
ModelRelation.fromMap(Map<String, dynamic> data)

Properties

externalName String?
getter/setter pair
externalType int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id IdUid
getter/setter pair
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetId IdUid
getter/setter pair
targetName String
getter/setter pair
uidRequest bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap({bool forModelJson = false}) Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited