ModelRef<T extends Model<T, I>, I, R extends ModelRef<T, I, R>> class abstract

Inheritance

Constructors

ModelRef(WatchableStateFeature _feature, I id)

Properties

hashCode int
The hash code for this object.
no setterinherited
id → I
final
isNotNull bool
no setter
isNull bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateId ObjectId
no setter

Methods

load(T model) → R
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() → void
remove() → T?
stream({bool immediate = true}) Stream<R>
toJson() Map<String, dynamic>
toModel() → T
toString() String
A string representation of this object.
inherited
watch() Stream<StateEvents>

Operators

operator <<(T model) → I
operator ==(Object other) bool
The equality operator.
inherited