static Future<void> log(int type, String log) async { await _channel.invokeMethod('log', {'type': type, 'log': log}); }