LiveChatSuperStickerDetails.fromJson constructor

LiveChatSuperStickerDetails.fromJson(
  1. Map json_
)

Implementation

LiveChatSuperStickerDetails.fromJson(core.Map json_)
    : this(
        amountDisplayString: json_.containsKey('amountDisplayString')
            ? json_['amountDisplayString'] as core.String
            : null,
        amountMicros: json_.containsKey('amountMicros')
            ? json_['amountMicros'] as core.String
            : null,
        currency: json_.containsKey('currency')
            ? json_['currency'] as core.String
            : null,
        superStickerMetadata: json_.containsKey('superStickerMetadata')
            ? SuperStickerMetadata.fromJson(json_['superStickerMetadata']
                as core.Map<core.String, core.dynamic>)
            : null,
        tier: json_.containsKey('tier') ? json_['tier'] as core.int : null,
      );