dispose static method

Future<void> dispose()

Implementation

static Future<void> dispose() async {
  _instance?.dispose();
  _instance = null;
}