OfferDetails.fromJson constructor

OfferDetails.fromJson(
  1. Map json_
)

Implementation

OfferDetails.fromJson(core.Map json_)
    : this(
        basePlanId: json_.containsKey('basePlanId')
            ? json_['basePlanId'] as core.String
            : null,
        offerId: json_.containsKey('offerId')
            ? json_['offerId'] as core.String
            : null,
        offerTags: json_.containsKey('offerTags')
            ? (json_['offerTags'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );