close static method Null safety

Future<void> close()

Permanently shuts down the client.

It's not normally necessary to explicitly shut down the client.

Implementation

static Future<void> close() async {
  await _channel.invokeMethod('close');
}