ReactionMessage.fromJson constructor

ReactionMessage.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ReactionMessage.fromJson(Map<String, dynamic> json) {
  return ReactionMessage(
    content: json['content'] as String,
    reference: json['reference'] as String,
  );
}