toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.number != null) {
    json[r'number'] = this.number;
  } else {
    json[r'number'] = null;
  }
    json[r'sections'] = this.sections;
  return json;
}