toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowedCustomerTypes != null)
        'allowedCustomerTypes': allowedCustomerTypes!,
      if (allowedRegions != null) 'allowedRegions': allowedRegions!,
      if (promotionalOrderTypes != null)
        'promotionalOrderTypes': promotionalOrderTypes!,
    };