toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attribute != null) 'attribute': attribute!,
      if (description != null) 'description': description!,
      if (destination != null) 'destination': destination!,
      if (resolution != null) 'resolution': resolution!,
      if (severity != null) 'severity': severity!,
      if (timestamp != null) 'timestamp': timestamp!,
      if (title != null) 'title': title!,
      if (type != null) 'type': type!,
    };