initialize method
Implementation
@override
Future<bool> initialize(TelinkMeshConfig config) async {
try {
final result = await methodChannel.invokeMethod<bool>(
'initialize',
config.toMap(),
);
return result ?? false;
} on PlatformException catch (e) {
debugPrint('Failed to initialize: ${e.message}');
return false;
}
}