ChatSeen.fromJson constructor

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

Implementation

factory ChatSeen.fromJson(Map<String, dynamic> json) {
  return ChatSeen(json['contactId'], DateTime.parse(json['time']));
}