fromJson static method
Inherited by: InputStoryAreaTypeFoundVenue InputStoryAreaTypeLink InputStoryAreaTypeLocation InputStoryAreaTypeMessage InputStoryAreaTypePreviousVenue InputStoryAreaTypeSuggestedReaction InputStoryAreaTypeUpgradedGift InputStoryAreaTypeWeather
Implementation
static InputStoryAreaTypeSuggestedReaction? fromJson(
Map<String, dynamic>? json,
) {
if (json == null) {
return null;
}
return InputStoryAreaTypeSuggestedReaction(
reactionType: ReactionType.fromJson(tdMapFromJson(json['reaction_type'])),
isDark: (json['is_dark'] as bool?) ?? false,
isFlipped: (json['is_flipped'] as bool?) ?? false,
);
}