fromJson static method
Implementation
static ParchmentStyle fromJson(Map<String, dynamic>? data) {
if (data == null) return ParchmentStyle();
final result = data.map((String key, dynamic value) {
var attr = ParchmentAttribute._fromKeyValue(key, value);
return MapEntry<String, ParchmentAttribute>(key, attr);
});
return ParchmentStyle._(result);
}