toJson method
Converts a BackgroundTypeWallpaper object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'document': document.toJson(),
'dark_theme_dimming': darkThemeDimming,
'is_blurred': isBlurred,
'is_moving': isMoving,
};
}