ChatTypePrivate.fromJson constructor

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

Parse from a json

Implementation

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