Uint16Queue constructor Null safety

Uint16Queue(
  1. [int? initialCapacity]
)

Creates an empty Uint16Queue with the given initial internal capacity (in elements).

Implementation

Uint16Queue([int? initialCapacity])
    : super(Uint16List(_chooseRealInitialCapacity(initialCapacity)));