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