NullableArrayCache<T> constructor

NullableArrayCache<T>({
  1. required int width,
  2. required int height,
  3. T? initialValue,
  4. CacheCoordinatePlane coordinatePlane = CacheCoordinatePlane.normal,
})

Implementation

NullableArrayCache(
    {required int width,
    required int height,
    this.initialValue,
    CacheCoordinatePlane coordinatePlane = CacheCoordinatePlane.normal})
    : _cache = ArrayCache<T?>(
          width: width,
          height: height,
          initialValue: initialValue,
          coordinatePlane: coordinatePlane);