asMap method

Map asMap()

Map asMap() is a method that returns a Map object containing the properties of the ScreenViewApiQuery class as key-value pairs.

Implementation

Map asMap() => {
  'feedSlug': feedSlug,
  'productId': productId,
};