setDatalogerByP0x18 method
Implementation
@override
Future<List<int>?> setDatalogerByP0x18(Map<String, dynamic> map) async {
try {
if (Platform.isAndroid) {
return (await methodChannel.invokeMethod('setDatalogerByP0x18', map)) as List<int>;
} else {
var back = (await methodChannel.invokeMapMethod("enCodeWithParams", map));
return back?["data"] as List<int>;
}
} catch (e) {
// print("e:$e");
return null;
}
}