Uint16List asUint16List(
[int offsetInBytes = 0,
int length]
)

Creates a new Uint16List view of this buffer.

Source

/**
 * Creates a new [Uint16List] view of this buffer.
 */
Uint16List asUint16List([int offsetInBytes = 0, int length]);