ByteData constructor Null safety

ByteData(
  1. int length
)

Creates a ByteData of the specified length (in elements), all of whose bytes are initially zero.

Implementation

@pragma("vm:entry-point")
external factory ByteData(int length);