toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"crop": crop?.toJson(),
"backgroundColor": _intFromColor(backgroundColor),
}.clearNulls();
@visibleForTesting
Map<String, dynamic> toJson() => {
"crop": crop?.toJson(),
"backgroundColor": _intFromColor(backgroundColor),
}.clearNulls();