toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'section'] = section;
  json[r'fields'] = fields;
  if (description != null) {
    json[r'description'] = description;
  }
  json[r'keywords'] = keywords;
  return json;
}