15 lines
253 B
Dart
15 lines
253 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
class UserProfile with EquatableMixin {
|
|
|
|
final String email;
|
|
|
|
UserProfile(this.email);
|
|
|
|
String getAvatarText() {
|
|
return email[0].toUpperCase();
|
|
}
|
|
|
|
@override
|
|
List<Object> get props => [email];
|
|
} |