createBatch method

IBatch createBatch(
  1. IStatus status, [
  2. IMessageMetadata? inMetadata,
  3. int parLength = 0,
  4. Pointer<Uint8>? par,
])

Implementation

IBatch createBatch(IStatus status,
    [IMessageMetadata? inMetadata, int parLength = 0, Pointer<Uint8>? par]) {
  final res = _createBatch(self, status.self, inMetadata?.self ?? nullptr,
      parLength, par ?? nullptr);
  status.checkStatus();
  return IBatch(res);
}