from static method
Implementation
static CSSGeneric? from(Object? value) {
if (value == null) return null;
if (value is CSSGeneric) return value;
if (value is String) {
return CSSGeneric.parse(value);
}
return null;
}
static CSSGeneric? from(Object? value) {
if (value == null) return null;
if (value is CSSGeneric) return value;
if (value is String) {
return CSSGeneric.parse(value);
}
return null;
}