OrderCustomerLoyaltyInfo.fromJson constructor

OrderCustomerLoyaltyInfo.fromJson(
  1. Map json_
)

Implementation

OrderCustomerLoyaltyInfo.fromJson(core.Map json_)
    : this(
        loyaltyNumber: json_.containsKey('loyaltyNumber')
            ? json_['loyaltyNumber'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );