SignalingApiMixin<V extends Entity> mixin

This mixin is applied to auto-generated apis, and ensures that the modification events are propagated and can be listened to.

Superclass Constraints

Properties

apis ApiRegistry?
A reference back to the api registry
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
mtype MSchemaRef
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone(V source) → V
Copies values from one entity into another. This clone operation is important because it allows
inherited
create(V body) Future<V>
override
delete(String id) Future<DeleteResponse>
override
initialize(V entity) → V
inherited
instantiate([dynamic json]) → V
inherited
keyToId(MKey? key) String?
inherited
list({double? limit, double? offset}) Future<MModelList<V>>
inherited
load(String id) Future<V>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
takeFrom(V source, V target) → void
Copies all data from source into target. Used when you want to maintain a reference to target, but want to inject new values from source
inherited
toString() String
A string representation of this object.
inherited
update(String id, V body) Future<ChangeResult>
override

Operators

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