stop method

Future<void> stop(
  1. String operationId
)

Stops an ongoing broadcast operation.

Parameters:

  • operationId: The operation ID returned by broadcast

Implementation

Future<void> stop(String operationId) async {
  final response = await _provider.send('transaction_v1_stop', [operationId]);

  if (response.error != null) {
    throw Exception(response.error.toString());
  }
}