ProductAvailabilityChangeEvent.fromJson constructor

ProductAvailabilityChangeEvent.fromJson(
  1. Map json_
)

Implementation

ProductAvailabilityChangeEvent.fromJson(core.Map json_)
    : this(
        availabilityStatus: json_.containsKey('availabilityStatus')
            ? json_['availabilityStatus'] as core.String
            : null,
        productId: json_.containsKey('productId')
            ? json_['productId'] as core.String
            : null,
      );