ReadBuffer.fromList constructor Null safety

ReadBuffer.fromList(
  1. List<int> list
)

Creates a Buffer with the given list as backing storage

Implementation

factory ReadBuffer.fromList(List<int> list) => ReadBuffer.fromUint8List(
    Uint8List(list.length)..setRange(0, list.length, list));