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
- Repository<
V>
- Repository<
- Available extensions
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
-
save(
X toSave) → Future< X> -
Available on Repository<
X> , provided by the RepositoryExtensions extension -
takeFrom(
V source, V target) → void -
Copies all data from
source
intotarget
. Used when you want to maintain a reference totarget
, but want to inject new values fromsource
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