1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-29 16:26:27 +00:00
comunicmobile/lib/models/account_image_settings.dart

18 lines
387 B
Dart
Raw Normal View History

2020-04-16 17:16:44 +00:00
/// Account image settings
///
/// @author Pierre Hubert
enum AccountImageVisibilityLevels { EVERYONE, COMUNIC_USERS, FRIENDS_ONLY }
class AccountImageSettings {
final bool hasImage;
final String imageURL;
final AccountImageVisibilityLevels visibility;
2020-04-16 17:16:44 +00:00
const AccountImageSettings({
required this.hasImage,
required this.imageURL,
required this.visibility,
2022-03-10 19:36:55 +00:00
});
2020-04-16 17:16:44 +00:00
}