wrap static method
Wraps the given object target
as a GTweenableGlowFilter if it is a
GlowFilter, otherwise returns null
.
Implementation
static GTweenable? wrap(Object? target) {
if (target is! GlowFilter) {
return null;
}
return GTweenableGlowFilter(target);
}