wrap static method

GTweenable? wrap(
  1. Object? target
)

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);
}