MessageSenderUser.fromJson constructor

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

Parse from a json

Implementation

factory MessageSenderUser.fromJson(Map<String, dynamic> json) => MessageSenderUser(
  userId: json['user_id'],
);