pullMessageHistory method Null safety

Future<NIMResult<List<NIMMessage>>> pullMessageHistory(
  1. NIMMessage anchor,
  2. int limit,
  3. bool persist
)

Get history messages from the server, the obtained history messages will not be saved into the local message database.

Implementation

Future<NIMResult<List<NIMMessage>>> pullMessageHistory(
    NIMMessage anchor, int limit, bool persist) async {
  return _platform.pullMessageHistory(anchor, limit, persist);
}