createClient abstract method

Future<void> createClient({
  1. String? restoreStateIdentifier,
  2. RestoreStateAction? restoreStateAction,
})

Allocates native resources.

restoreStateIdentifier and restoreStateAction are iOS-specific.

Must return before any other operation can be called.

await BleManager().createClient();

Implementation

Future<void> createClient({
  String? restoreStateIdentifier,
  RestoreStateAction? restoreStateAction,
});