queryLastMessage method Null safety

Future<NIMResult<NIMMessage>> queryLastMessage(
  1. String account,
  2. NIMSessionType sessionType
)

Query the last message.

Implementation

Future<NIMResult<NIMMessage>> queryLastMessage(
    String account, NIMSessionType sessionType) async {
  return _platform.queryLastMessage(account, sessionType);
}