ImageData constructor

ImageData(
  1. Uint8ClampedList data,
  2. int sw, [
  3. int? sh,
  4. ImageDataSettings? settings,
])

Implementation

factory ImageData(Uint8ClampedList data, int sw,
        [int? sh, ImageDataSettings? settings]) =>
    ImageData._(data, sw, sh ?? undefined, settings ?? undefined);