asyncAdd method

Future<void> asyncAdd(
  1. Future<T?> loader,
  2. Function onError
)

Add future item

Implementation

Future<void> asyncAdd(Future<T?> loader, Function onError) async => _state != null ? await _state!._asyncAddCard(loader, onError) : null;