UserReactions.fromJSON constructor

UserReactions.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

UserReactions.fromJSON(Map<String, dynamic> json)
    : user = User.fromJSON(json['user']),
      reactions = Utils.createStringList(json['reactions']);