toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> obj = <String, dynamic>{};
// Do NOT serialize decoration, widget, topWidget, bottomWidget, backgroundColor, onFinderRectChange
if (finderAspectRatio != null) {
obj["finderAspectRatio"] = finderAspectRatio!.toJson();
}
if (finderInsets != null) {
obj["finderInsets"] = finderInsets!.toJson();
}
return obj;
}