wrap static method

GTweenable? wrap(
  1. Object? target
)

Wraps the given object target as a GTweenableBlur if it is a GBlurFilter, otherwise returns null.

Implementation

static GTweenable? wrap(Object? target) {
  if (target is! GBlurFilter) {
    return null;
  }
  return GTweenableBlur(target);
}