Utility_Batch constructor

Utility_Batch({
  1. Utility_BatchKind? kind,
  2. Iterable<RuntimeCall>? calls,
  3. CallIndices? callIndices,
})

Implementation

factory Utility_Batch({
  Utility_BatchKind? kind,
  $core.Iterable<RuntimeCall>? calls,
  $0.CallIndices? callIndices,
}) {
  final result = create();
  if (kind != null) result.kind = kind;
  if (calls != null) result.calls.addAll(calls);
  if (callIndices != null) result.callIndices = callIndices;
  return result;
}