ModelRelation class

ModelRelation describes a standalone relation

Constructors

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

Properties

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