ActionClient<T> constructor

const ActionClient<T>({
  1. required String action,
  2. required Future<Map> result,
  3. required T factory(
    1. dynamic unserialized
    ),
})

Implementation

const ActionClient({
  required String action,
  required Future<Map> result,
  required T Function(dynamic unserialized) factory,
})  : _action = action,
      _result = result,
      _factory = factory;