Owner.fromJson constructor

Owner.fromJson(
  1. Map json
)

Implementation

factory Owner.fromJson(Map<dynamic, dynamic> json) {
  return Owner(
    address: json['address'] != null ? BillingAddress.fromJson(json['address']) : null,
    email: json['email'],
    name: json['name'],
    phone: json['phone'],
    verifiedAddress: json['verified_address'] != null ? BillingAddress.fromJson(json['verified_address']) : null,
    verifiedEmail: json['verified_email'],
    verifiedName: json['verified_name'],
    verifiedPhone: json['verified_phone'],
  );
}