StampNode constructor

StampNode({
  1. String? type,
  2. StampNode clone()?,
  3. Future<BaseUser?> getAuthorAsync()?,
  4. Constraints? constraints,
  5. SceneNode? stuckTo,
  6. Vector? targetAspectRatio,
  7. void lockAspectRatio()?,
  8. void unlockAspectRatio()?,
})

Implementation

factory StampNode({
  _i2.String? type,
  _i3.StampNode Function()? clone,
  _i2.Future<_i3.BaseUser?> Function()? getAuthorAsync,
  _i3.Constraints? constraints,
  _i3.SceneNode? stuckTo,
  _i3.Vector? targetAspectRatio,
  void Function()? lockAspectRatio,
  void Function()? unlockAspectRatio,
}) =>
    StampNode._(
      type: type,
      clone: clone == null ? null : _i5.allowInterop(clone),
      getAuthorAsync:
          getAuthorAsync == null ? null : _i5.allowInterop(getAuthorAsync),
      constraints: constraints ?? _i7.undefined,
      stuckTo: stuckTo ?? _i7.undefined ?? _i7.undefined,
      targetAspectRatio: targetAspectRatio ?? _i7.undefined,
      lockAspectRatio:
          lockAspectRatio == null ? null : _i5.allowInterop(lockAspectRatio),
      unlockAspectRatio: unlockAspectRatio == null
          ? null
          : _i5.allowInterop(unlockAspectRatio),
    );