toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.kty != null) {
json[r'kty'] = this.kty;
} else {
json[r'kty'] = null;
}
if (this.use != null) {
json[r'use'] = this.use;
} else {
json[r'use'] = null;
}
if (this.alg != null) {
json[r'alg'] = this.alg;
} else {
json[r'alg'] = null;
}
if (this.kid != null) {
json[r'kid'] = this.kid;
} else {
json[r'kid'] = null;
}
if (this.n != null) {
json[r'n'] = this.n;
} else {
json[r'n'] = null;
}
if (this.e != null) {
json[r'e'] = this.e;
} else {
json[r'e'] = null;
}
return json;
}