toJson method
Converts this class object into a JSON value.
Implementation
@override
Map<String, dynamic> toJson() {
final result = super.toJson();
if (as != null) {
result["ace:as"] = as.toString();
}
if (audience != null) {
result["ace:audience"] = audience;
}
if (scopes != null) {
result["ace:scopes"] = scopes;
}
if (cnonce != null) {
result["ace:cnonce"] = cnonce;
}
return result;
}