forked from eatvio/eatvio_app
Send JSON to server
This commit is contained in:
@@ -7,21 +7,21 @@ class UserRegistrationSheet {
|
||||
String email;
|
||||
String password;
|
||||
String passwordConfirmation;
|
||||
bool termsAccepted;
|
||||
DateTime birthdate;
|
||||
String termsAccepted;
|
||||
String birthdate;
|
||||
String gender;
|
||||
String country;
|
||||
String city;
|
||||
String lang;
|
||||
int weight;
|
||||
int height;
|
||||
int chestCircumference;
|
||||
int waistCircumference;
|
||||
int hipCircumference;
|
||||
int bloodPressureUp;
|
||||
int bloodPressureDown;
|
||||
bool hasHypo = false;
|
||||
bool hasHyper = false;
|
||||
String weight;
|
||||
String height;
|
||||
String chestCircumference;
|
||||
String waistCircumference;
|
||||
String hipCircumference;
|
||||
String bloodPressureUp;
|
||||
String bloodPressureDown;
|
||||
String hasHypo = '';
|
||||
String hasHyper = '';
|
||||
String aboutAllergy = '';
|
||||
String aboutTakingPils = '';
|
||||
String aboutSportHobbies = '';
|
||||
@@ -66,7 +66,7 @@ class UserRegistrationSheet {
|
||||
'password': password,
|
||||
'password_confirmation': passwordConfirmation,
|
||||
'terms': termsAccepted,
|
||||
'birthdate': birthdate.toIso8601String(),
|
||||
'birthdate': birthdate.toString(),
|
||||
'gender': gender,
|
||||
'country': country,
|
||||
'city': city,
|
||||
|
||||
Reference in New Issue
Block a user