downloadMergerMessage method Null safety

Future<V2TimValueCallback<List<V2TimMessage>>> downloadMergerMessage(
  1. {required String msgID}
)

Get the sub-message list of the merged message (download the merged message list) Parameter: msgID msgID of the merged message

Implementation

Future<V2TimValueCallback<List<V2TimMessage>>> downloadMergerMessage({
  required String msgID,
}) async {
  return V2TimValueCallback<List<V2TimMessage>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        'downloadMergerMessage',
        _buildParam(
          {
            "msgID": msgID,
          },
        ),
      ),
    ),
  );
}