allocate method

  1. @override
ByteData allocate(
  1. int size
)
override

Allocate a ByteData buffer of a given size.

Implementation

@override
ByteData allocate(int size) => ByteData(size);