instance static method

Future<DropContext> instance()

Implementation

static Future<DropContext> instance() {
  return _mutex.protect(() async {
    if (_instance == null) {
      _instance = DropContextImpl();
      await _instance!.initialize();
    }
    return _instance!;
  });
}