toJson method
Implementation
@override
Map<String, dynamic> toJson() {
Map<String, dynamic> json = {};
Map<String, dynamic> selectiveDisclosure = {};
json['type'] = _type;
json['verifiablePresentation'] = _verifiablePresentation;
selectiveDisclosure['type'] = _sdType;
selectiveDisclosure['plaintextCredentials'] = _plaintextCredentials;
json['selectiveDisclosure'] = selectiveDisclosure;
return json;
}