Start writing the web app
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@posteo.com>
This commit was merged in pull request #5.
This commit is contained in:
23
lib/features/authorization/application/sign_up_data.dart
Normal file
23
lib/features/authorization/application/sign_up_data.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
import 'package:softplayer_dart_proto/accounts/v1/accounts_v1.pbgrpc.dart';
|
||||
|
||||
class SignUpData {
|
||||
final String email;
|
||||
final String password;
|
||||
final String name;
|
||||
final String surname;
|
||||
|
||||
const SignUpData({
|
||||
required this.email,
|
||||
required this.password,
|
||||
required this.name,
|
||||
required this.surname,
|
||||
});
|
||||
|
||||
SignUpRequest toProto() {
|
||||
return SignUpRequest(
|
||||
email: email,
|
||||
password: password,
|
||||
personalData: PersonalData(name: name, surname: surname),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user