toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = Map<String, dynamic>();
  data['draworder'] = this.drawOrder;

  if (this.objects != null) {
    data['objects'] = this.objects?.map((v) => v.toJson()).toList();
  }
  data.addAll(super.toJson());
  return data;
}