copy method

Creates a copy of this batch.

Implementation

AuthorizationBatch copy() {
  final newBatch = AuthorizationBatch();
  newBatch.addAll(_authorizations);
  return newBatch;
}