PromotionsApiQuery.fromMap constructor

PromotionsApiQuery.fromMap(
  1. Map map
)

This is a named constructor in the PromotionsApiQuery class that allows creating an instance of the class from a Map object.

Implementation

PromotionsApiQuery.fromMap(Map map)
    : this(
          statuses: map['statuses'],
          types: map['types'],
          sorting: map['sorting'],
          limit: map['limit'],
          page: map['page'],
          includeMeta: map['includeMeta']);