mediaEndPoint method
Implementation
@override
Future<String?> mediaEndPoint() async {
String? response;
try {
response =
await mirrorFlyMethodChannel.invokeMethod<String>('media_endpoint');
debugPrint("media_endpoint Result ==> $response");
return response;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}