get method

  1. @override
Future<Entity<D>> get(
  1. P params
)
override

Gets entity from network or throws on error params Params that distinguish entity

Implementation

@override
Future<Entity<D>> get(P params) {
  return _run<Entity<D>>((sendPort) => _Command.get(sendPort, params)).then((result) => result.toFuture());
}