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