unsubscribe method

Future<void> unsubscribe(
  1. ResultOfSubscribeCollection params
)

Cancels a subscription specified by its handle.

Implementation

Future<void> unsubscribe(ResultOfSubscribeCollection params) async {
  await _tonCore.request('net.unsubscribe', params.toString());
}