toJson method
Implementation
@override
Map<String, dynamic> toJson() {
Map<String, dynamic> jsonObject = {};
Map<String, dynamic> options = {};
options['domain'] = domain;
options['challenge'] = challenge;
jsonObject['options'] = options;
jsonObject['presentation_definition'] = presentationDefinition.toJson();
return jsonObject;
}