defaultAnimationForKey static method

ObjCObjectBase? defaultAnimationForKey(
  1. DartNSAnimatablePropertyKey key
)

defaultAnimationForKey:

Implementation

static objc.ObjCObjectBase? defaultAnimationForKey(
  DartNSAnimatablePropertyKey key,
) {
  objc.checkOsVersionInternal(
    'NSWindow.defaultAnimationForKey:',
    iOS: (true, null),
    macOS: (false, (10, 5, 0)),
  );
  final _ret = _objc_msgSend_1sotr3r(
    _class_NSWindow,
    _sel_defaultAnimationForKey_,
    key.ref.pointer,
  );
  return _ret.address == 0
      ? null
      : objc.ObjCObjectBase(_ret, retain: true, release: true);
}