ShopifyUser.fromGraphJson constructor
The shopify user from json factory
Implementation
factory ShopifyUser.fromGraphJson(Map<String, dynamic> json) => ShopifyUser(
address: Addresses.fromGraphJson(json['addresses'] ?? const {}),
defaultAddress: json['defaultAddress'] == null
? null
: Address.fromJson(json['defaultAddress']),
createdAt: json['createdAt'],
displayName: json['displayName'],
email: json['email'],
firstName: json['firstName'],
id: json['id'],
lastName: json['lastName'],
phone: json['phone'],
tags: _getTagList((json)),
);