toJson method
Converts a BackgroundTypeFill object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'fill': fill.toJson(),
'dark_theme_dimming': darkThemeDimming,
};
}
Converts a BackgroundTypeFill object to JSON.
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'fill': fill.toJson(),
'dark_theme_dimming': darkThemeDimming,
};
}