getFavouriteMessages method
Implementation
@override
Future<dynamic> getFavouriteMessages() async {
dynamic favResponse;
try {
favResponse =
await mirrorFlyMethodChannel.invokeMethod('get_favourite_messages');
debugPrint("fav response ==> $favResponse");
return favResponse;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}