toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'resolutionStatus': resolutionStatus.toJson(),
'insecureURL': insecureURL,
'mainResourceURL': mainResourceURL,
if (resourceType != null) 'resourceType': resourceType!.toJson(),
if (request != null) 'request': request!.toJson(),
if (frame != null) 'frame': frame!.toJson(),
};
}