toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'type': type,
    'overflow': overflow,
    'properties': properties.map((e) => e.toJson()).toList(),
    if (subtype != null) 'subtype': subtype,
    if (description != null) 'description': description,
    if (entries != null) 'entries': entries!.map((e) => e.toJson()).toList(),
  };
}