request<TResponse> method

Future<TResponse?> request<TResponse>(
  1. dynamic payload
)

Implementation

Future<TResponse?> request<TResponse>(dynamic payload) async {
  if (_session == null) {
    throw StateError('AudioIsolate is not running');
  }

  return _messenger.request(payload);
}