InappproductsListResponse.fromJson constructor

InappproductsListResponse.fromJson(
  1. Map json_
)

Implementation

InappproductsListResponse.fromJson(core.Map json_)
    : this(
        inappproduct: json_.containsKey('inappproduct')
            ? (json_['inappproduct'] as core.List)
                .map((value) => InAppProduct.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        pageInfo: json_.containsKey('pageInfo')
            ? PageInfo.fromJson(
                json_['pageInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        tokenPagination: json_.containsKey('tokenPagination')
            ? TokenPagination.fromJson(json_['tokenPagination']
                as core.Map<core.String, core.dynamic>)
            : null,
      );