CollectionFeaturedProduct.fromJson constructor

CollectionFeaturedProduct.fromJson(
  1. Map json_
)

Implementation

CollectionFeaturedProduct.fromJson(core.Map json_)
    : this(
        offerId: json_['offerId'] as core.String?,
        x: (json_['x'] as core.num?)?.toDouble(),
        y: (json_['y'] as core.num?)?.toDouble(),
      );