Spot constructor

Spot([
  1. num? x,
  2. num? y,
  3. num? offx,
  4. num? offy,
])

Implementation

factory Spot([
  _i2.num? x,
  _i2.num? y,
  _i2.num? offx,
  _i2.num? offy,
]) =>
    _i4.callConstructor(
      _declaredSpot,
      [
        x ?? _i5.undefined,
        y ?? _i5.undefined,
        offx ?? _i5.undefined,
        offy ?? _i5.undefined,
      ],
    );