static Future<bool?> setMetadata(String type, String json) => _channel.invokeMethod('setMetadata', {"json": json, "type": type});