loadNextMessages method

  1. @override
Future loadNextMessages()
override

Implementation

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