@override Future<int> getTexturePtr(int key) async { final ptr = await methodChannel.invokeMethod('getTexturePtr', {"key": key}) ?? false; return ptr; }