StampNode constructor
StampNode({})
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),
);