toJson method
The evidence projection of this probe.
Implementation
Map<String, Object?> toJson() => {
'kind': kind.name,
if (host != null) 'host': host,
if (port != null) 'port': port,
if (path != null) 'path': path,
if (pattern != null) 'pattern': pattern.toString(),
};