mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-23 05:19:22 +00:00
23 lines
492 B
Dart
23 lines
492 B
Dart
|
import 'package:flutter/widgets.dart';
|
||
|
|
||
|
/// New account information container
|
||
|
///
|
||
|
/// @author Pierre HUBERT
|
||
|
|
||
|
class NewAccount {
|
||
|
final String firstName;
|
||
|
final String lastName;
|
||
|
final String email;
|
||
|
final String password;
|
||
|
|
||
|
NewAccount({
|
||
|
@required this.firstName,
|
||
|
@required this.lastName,
|
||
|
@required this.email,
|
||
|
@required this.password,
|
||
|
}) : assert(firstName != null),
|
||
|
assert(lastName != null),
|
||
|
assert(email != null),
|
||
|
assert(password != null);
|
||
|
}
|