mappings property

Map<Type, Function> mappings
final

Implementation

static final mappings = <Type, Function>{
  //Client Module
  ClientConditionalAuthResult: (Map map) =>
      ClientConditionalAuthResult.fromMap(map),
  ClientAccountInformation: (Map map) =>
      ClientAccountInformation.fromMap(map),
  Token: (Map map) => Token.fromMap(map),

  //Content Module
  Document: (Map map) => Document.fromMap(map),
  RecommendationResponse: (Map map) => RecommendationResponse.fromMap(map),
  ScreenView: (Map map) => ScreenView.fromMap(map),

  //Promotions Module
  PromotionResponse: (Map map) => PromotionResponse.fromMap(map),
  Promotion: (Map map) => Promotion.fromMap(map),
  VoucherCodesResponse: (Map map) => VoucherCodesResponse.fromMap(map),
  AssignVoucherResponse: (Map map) => AssignVoucherResponse.fromMap(map),
};