Converts an Object, which could be a JSAny, to a Dart type in a graceful manner. See isJSAny.
Object? objectDartify() { final self = this; if (self == null) return null; return self.isA<JSAny>() ? (self as JSAny).dartify() : self; }