toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var sections = this.sections;

  final json = <String, Object?>{};
  json[r'sections'] = sections.map((i) => i.toJson()).toList();
  return json;
}