BackgroundTypePattern.fromJson constructor
Creates a BackgroundTypePattern object from JSON.
Implementation
factory BackgroundTypePattern.fromJson(Map<String, dynamic> json) {
return BackgroundTypePattern(
document: Document.fromJson(json['document']),
fill: BackgroundFill.fromJson(json['fill']),
intensity: json['intensity'],
isInverted: json['is_inverted'] ?? false,
isMoving: json['is_moving'] ?? false,
);
}