initialize method
Initializes native P2P and BLE resources.
Must be called before most other host or client operations. Returns a Future that completes when initialization is done.
Implementation
@override
Future<void> initialize({
String? serviceUuid,
bool? bondingRequired,
bool? encryptionRequired,
}) async {
await methodChannel.invokeMethod('initialize', {
'serviceUuid': serviceUuid,
'bondingRequired': bondingRequired ?? false,
'encryptionRequired': encryptionRequired ?? false,
});
}