toDart method

ResizedFrame toDart()

Implementation

ResizedFrame toDart() {
  return ResizedFrame(
    data: Uint8List.fromList(data.asTypedList(size)),
    size: size,
    width: width,
    height: height,
    channels: channels,
    dataType: dataType,
    timestamp: timestamp,
    textureId: textureId,
  );
}