fromJson static method

ChatAvailableReactionsAll? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static ChatAvailableReactionsAll? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return ChatAvailableReactionsAll(
    maxReactionCount: (json['max_reaction_count'] as int?) ?? 0,
  );
}