MethodChannelBleGattServer constructor
MethodChannelBleGattServer()
Implementation
MethodChannelBleGattServer() {
methodChannel.setMethodCallHandler((call) async {
try {
Function.apply(callbackHandler[call.method]!, call.arguments as List<dynamic>);
} catch (e) {
//
}
return true;
},);
}