toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.accessToken != null) {
json[r'access_token'] = this.accessToken;
} else {
json[r'access_token'] = null;
}
if (this.code != null) {
json[r'code'] = this.code;
} else {
json[r'code'] = null;
}
if (this.idToken != null) {
json[r'id_token'] = this.idToken;
} else {
json[r'id_token'] = null;
}
return json;
}