toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (applicableCountries != null)
    'applicableCountries': applicableCountries!,
  if (attribute != null) 'attribute': attribute!,
  if (code != null) 'code': code!,
  if (description != null) 'description': description!,
  if (detail != null) 'detail': detail!,
  if (documentation != null) 'documentation': documentation!,
  if (reportingContext != null) 'reportingContext': reportingContext!,
  if (resolution != null) 'resolution': resolution!,
  if (severity != null) 'severity': severity!,
};