toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'name'] = this.name;
json[r'claims'] = this.claims;
if (this.lifetime != null) {
json[r'lifetime'] = this.lifetime;
} else {
json[r'lifetime'] = null;
}
if (this.allowedClockSkew != null) {
json[r'allowed_clock_skew'] = this.allowedClockSkew;
} else {
json[r'allowed_clock_skew'] = null;
}
if (this.customSigningKey != null) {
json[r'custom_signing_key'] = this.customSigningKey;
} else {
json[r'custom_signing_key'] = null;
}
if (this.signingAlgorithm != null) {
json[r'signing_algorithm'] = this.signingAlgorithm;
} else {
json[r'signing_algorithm'] = null;
}
if (this.signingKey != null) {
json[r'signing_key'] = this.signingKey;
} else {
json[r'signing_key'] = null;
}
return json;
}