toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  if (this.address != null) data['address'] = this.address;
  if (this.email != null) data['email'] = this.email;
  if (this.name != null) data['name'] = this.name;
  if (this.phone != null) data['phone'] = this.phone;
  if (this.verifiedAddress != null) data['verified_address'] = this.verifiedAddress;
  if (this.verifiedEmail != null) data['verified_email'] = this.verifiedEmail;
  if (this.verifiedName != null) data['verified_name'] = this.verifiedName;
  if (this.verifiedPhone != null) data['verified_phone'] = this.verifiedPhone;
  return data;
}