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