NetService<D extends Object, P extends Object> class
abstract
Interface to load an Entity from network
D Data type
P Params that identify data type
- Implementers
- Available extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
P params) → Future< Entity< D> > -
Gets entity from network or throws on error
paramsParams that distinguish entity -
isolated(
) → NetService< D, P> -
Available on NetService<
Wraps AsyncCacheDelegate with Isolate for long-running operationsD, P> , provided by the IsolateNetServiceExtension extension -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited