toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (httpRequest != null) 'httpRequest': httpRequest!.toJson(),
      if (reportLocation != null) 'reportLocation': reportLocation!.toJson(),
      if (sourceReferences != null)
        'sourceReferences':
            sourceReferences!.map((value) => value.toJson()).toList(),
      if (user != null) 'user': user!,
    };