loadPreviousMessages static method
This loadPreviousMessages is used to fetch previous set of conversations between you and a single chat user or group.
The flyCallBack
parameter is a function that will be called upon completion of the operation.
It receives a FlyResponse object as a parameter, which contains information about the success or failure of the operation.
This set contains the limit/length set in initializeMessageList method
Implementation
static Future<void> loadPreviousMessages(
{required Function(FlyResponse response) flyCallback}) {
return FlyChatFlutterPlatform.instance.loadPreviousMessages(flyCallback);
}