Encrypted messaging app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
373 B

class UserSearch {
String id;
String username;
String publicKey;
UserSearch({
required this.id,
required this.username,
required this.publicKey,
});
factory UserSearch.fromJson(Map<String, dynamic> json) {
return UserSearch(
id: json['id'],
username: json['username'],
publicKey: json['asymmetric_public_key'],
);
}
}