writeLog method
Implementation
@override
Future<void> writeLog(String log, Log logType) async {
try {
return methodChannel.invokeMethod<void>("writeLog",{"log": log, "logType" : logType.type});
} on PlatformException catch (e, s) {
print(s);
return;
}
}