LiveChatSuperChatDetails.fromJson constructor

LiveChatSuperChatDetails.fromJson(
  1. Map json_
)

Implementation

LiveChatSuperChatDetails.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,
        tier: json_.containsKey('tier') ? json_['tier'] as core.int : null,
        userComment: json_.containsKey('userComment')
            ? json_['userComment'] as core.String
            : null,
      );