toJson method
JSON-like representation for diagnostics and debug panels.
Implementation
Map<String, Object?> toJson() {
return <String, Object?>{
'pluginId': pluginId,
'candidateId': candidateId,
'mode': mode.name,
'priority': priority,
'packageName': packageName,
};
}