@override Future lottiurl() async { try { var result = await platform.invokeMethod('loaderUrl'); return result; } on PlatformException { return ''; } }