toJson method
Encodes this CockpitLocatorResolution as a JSON object.
Implementation
Map<String, Object?> toJson() => <String, Object?>{
'matchedKind': matchedKind.name,
'matchedValue': matchedValue,
if (matchedSignals.isNotEmpty) 'matchedSignals': matchedSignals,
};