toJson method
The canonical frame for this command at version.
Implementation
@override
Map<String, dynamic> toJson({int version = wireProtocolVersion}) => {
'v': version,
'kind': 'secret_response',
'id': id,
'granted': result != null,
if (result != null) ...{
'name': result!.name,
'value': result!.value,
'persisted': result!.persisted,
},
};