fromJson static method

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

Implementation

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

  return StoryInteractionTypeView(
    chosenReactionType: ReactionType.fromJson(
      tdMapFromJson(json['chosen_reaction_type']),
    ),
  );
}