fromJson static method

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

Implementation

static MessageInteraction fromJson(Map<String, dynamic> json) {
  return MessageInteraction(
    id: json['id'],
    type: json['type'], // InteractionType.fromJson(json['type']),
    name: json['name'],
    user: User.fromJson(json['user']),
  );
}