writeLog method

  1. @override
Future<void> writeLog(
  1. String log,
  2. Log logType
)
override

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;
  }
}