BatchProof constructor Null safety

BatchProof(
  1. {Iterable<BatchEntry>? entries}
)

Implementation

factory BatchProof({
  $core.Iterable<BatchEntry>? entries,
}) {
  final _result = create();
  if (entries != null) {
    _result.entries.addAll(entries);
  }
  return _result;
}