CSSPropertyRegistration.fromJson constructor
Implementation
factory CSSPropertyRegistration.fromJson(Map<String, dynamic> json) {
return CSSPropertyRegistration(
propertyName: json['propertyName'] as String,
initialValue: json.containsKey('initialValue')
? Value.fromJson(json['initialValue'] as Map<String, dynamic>)
: null,
inherits: json['inherits'] as bool? ?? false,
syntax: json['syntax'] as String,
);
}