static CSSURL? from(Object? url) { if (url == null) return null; if (url is CSSURL) { return url; } else if (url is String) { return CSSURL.parse(url); } return null; }