ChatBoostAdded.fromJson constructor

ChatBoostAdded.fromJson(
  1. Map<String, dynamic> map
)

Create a ChatBoostAdded from a Map

Implementation

factory ChatBoostAdded.fromJson(Map<String, dynamic> map) {
  return ChatBoostAdded(
    boostCount: map['boostCount'] as int,
  );
}