Int16Queue constructor Null safety

Int16Queue(
  1. [int? initialCapacity]
)

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

Implementation

Int16Queue([int? initialCapacity])
    : super(Int16List(_chooseRealInitialCapacity(initialCapacity)));