writeLogForiOS static method

Future<Null> writeLogForiOS(
  1. String log,
  2. Level level
)

Use this API to write the Debug log with log type

Implementation

static Future<Null> writeLogForiOS(String log, Level level) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent("log", () => log);
  args.putIfAbsent("level", () => level.toString());
  await methodChannel.invokeMethod('writeLogForiOS', args);
}