toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "email": email,
  "first_name": firstName,
  "last_name": lastName,
  "username": username,
  "password": password,
  "billing": billing.toJson(),
  "shipping": shipping.toJson(),
};