wrap static method
Returns an instance of GTweenableList if the given target
object is a
List, otherwise returns null
.
Implementation
static GTweenable? wrap(Object? target) {
if (target is! List) {
return null;
}
return GTweenableList(target);
}