wrap static method
Wraps the given target
in a GTweenableDouble object if it is a double
value, otherwise returns null.
Implementation
static GTweenable? wrap(Object? target) {
return target is double ? GTweenableDouble(target) : null;
}
Wraps the given target
in a GTweenableDouble object if it is a double
value, otherwise returns null.
static GTweenable? wrap(Object? target) {
return target is double ? GTweenableDouble(target) : null;
}