getBufferSubDataAsync method Null safety

Future getBufferSubDataAsync (
  1. int target,
  2. int srcByteOffset,
  3. TypedData dstData,
  4. [int? dstOffset,
  5. int? length]
)

Implementation

Future getBufferSubDataAsync(int target, int srcByteOffset, TypedData dstData,
        [int? dstOffset, int? length]) =>
    promiseToFuture(JS("", "#.getBufferSubDataAsync(#, #, #, #, #)", this,
        target, srcByteOffset, dstData, dstOffset, length));