toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (country != null) 'country': country!,
      if (destination != null) 'destination': destination!,
      if (detail != null) 'detail': detail!,
      if (documentation != null) 'documentation': documentation!,
      if (id != null) 'id': id!,
      if (severity != null) 'severity': severity!,
      if (title != null) 'title': title!,
    };