new UI + new targets.
This commit is contained in:
@@ -3,12 +3,14 @@ class Contact {
|
||||
final String lastName;
|
||||
final String phone;
|
||||
final String email;
|
||||
final String role; // "predsednik", "članica" …; empty when the club data has none
|
||||
|
||||
const Contact({
|
||||
required this.firstName,
|
||||
required this.lastName,
|
||||
required this.phone,
|
||||
required this.email,
|
||||
this.role = '',
|
||||
});
|
||||
|
||||
String get fullName => '$firstName $lastName';
|
||||
@@ -18,5 +20,6 @@ class Contact {
|
||||
lastName: json['lastName'] ?? '',
|
||||
phone: json['phone'] ?? '',
|
||||
email: json['email'] ?? '',
|
||||
role: json['role'] ?? '',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user