copyAsUnmodifiable method

Uint8List copyAsUnmodifiable()

Returns an unmodifiable copy of this instance.

Implementation

Uint8List copyAsUnmodifiable() => copy().asUnmodifiableView();