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