create static method

Future<BleCentral> create()

Creates and returns a singleton instance of a BleCentral.

Implementation

static Future<BleCentral> create() async {
  final central = BleCentral._create();
  await central.reset();
  return central;
}