@override Map<String, dynamic> toJson() => <String, dynamic>{ 'type': type?.toJson(), 'password': password, '@type': constructor, };