AnimeCallBack constructor

AnimeCallBack({
  1. AnimeCallbackFunction? begin,
  2. AnimeCallbackFunction? change,
  3. AnimeCallbackFunction? update,
  4. AnimeCallbackFunction? complete,
  5. AnimeCallbackFunction? loopBegin,
  6. AnimeCallbackFunction? loopComplete,
  7. AnimeCallbackFunction? changeBegin,
  8. AnimeCallbackFunction? changeComplete,
})

Implementation

factory AnimeCallBack({
  _i4.AnimeCallbackFunction? begin,
  _i4.AnimeCallbackFunction? change,
  _i4.AnimeCallbackFunction? update,
  _i4.AnimeCallbackFunction? complete,
  _i4.AnimeCallbackFunction? loopBegin,
  _i4.AnimeCallbackFunction? loopComplete,
  _i4.AnimeCallbackFunction? changeBegin,
  _i4.AnimeCallbackFunction? changeComplete,
}) =>
    AnimeCallBack._(
      begin: begin == null ? _i5.undefined : _i6.allowInterop(begin),
      change: change == null ? _i5.undefined : _i6.allowInterop(change),
      update: update == null ? _i5.undefined : _i6.allowInterop(update),
      complete: complete == null ? _i5.undefined : _i6.allowInterop(complete),
      loopBegin:
          loopBegin == null ? _i5.undefined : _i6.allowInterop(loopBegin),
      loopComplete: loopComplete == null
          ? _i5.undefined
          : _i6.allowInterop(loopComplete),
      changeBegin:
          changeBegin == null ? _i5.undefined : _i6.allowInterop(changeBegin),
      changeComplete: changeComplete == null
          ? _i5.undefined
          : _i6.allowInterop(changeComplete),
    );