static Future<bool> error(String type, String format) async { var result = await NativeImpl.methodChannel .invokeMethod('${methodTag}error', {'type': type, 'format': format}); return result; }