toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'id'] = id;
  if (rev != null) {
    json[r'rev'] = rev;
  }
  if (deletionDate != null) {
    json[r'deletionDate'] = deletionDate;
  }
  if (from != null) {
    json[r'from'] = from;
  }
  if (to != null) {
    json[r'to'] = to;
  }
  if (code != null) {
    json[r'code'] = code;
  }
  if (vmpGroup != null) {
    json[r'vmpGroup'] = vmpGroup;
  }
  if (name != null) {
    json[r'name'] = name;
  }
  if (abbreviation != null) {
    json[r'abbreviation'] = abbreviation;
  }
  if (vtm != null) {
    json[r'vtm'] = vtm;
  }
  json[r'wadas'] = wadas;
  json[r'components'] = components;
  json[r'commentedClassifications'] = commentedClassifications;
  return json;
}