BackgroundTypeWallpaper.fromJson constructor
Creates a BackgroundTypeWallpaper object from JSON.
Implementation
factory BackgroundTypeWallpaper.fromJson(Map<String, dynamic> json) {
return BackgroundTypeWallpaper(
document: Document.fromJson(json['document']),
darkThemeDimming: json['dark_theme_dimming'],
isBlurred: json['is_blurred'] ?? false,
isMoving: json['is_moving'] ?? false,
);
}