toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'first_name'] = this.firstName;
json[r'last_name'] = this.lastName;
json[r'email'] = this.email;
json[r'sms_verification_code'] = this.smsVerificationCode;
json[r'phone_number'] = this.phoneNumber;
json[r'password'] = this.password;
if (this.referer != null) {
json[r'referer'] = this.referer;
} else {
json[r'referer'] = null;
}
return json;
}