NativeInt16Array.from constructor

NativeInt16Array.from(
  1. List<int> listData
)

Implementation

NativeInt16Array.from(List<int> listData) : super.from(listData) {
  _list = calloc<Int16>(listData.length);
  oneByteSize = sizeOf<Int16>();
  this.toDartList().setAll(0, listData);
}