toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'provider'] = this.provider;
if (this.accountEmail != null) {
json[r'accountEmail'] = this.accountEmail;
} else {
json[r'accountEmail'] = null;
}
if (this.linkedAt != null) {
json[r'linkedAt'] = this.linkedAt!.toUtc().toIso8601String();
} else {
json[r'linkedAt'] = null;
}
if (this.lastUsedAt != null) {
json[r'lastUsedAt'] = this.lastUsedAt!.toUtc().toIso8601String();
} else {
json[r'lastUsedAt'] = null;
}
return json;
}