@override Map<String, Object?> toJson() { final data = super.toJson(); data['threepid_creds'] = threepidCreds.toJson(); return data; }