Commented.fromJson constructor

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

Implementation

factory Commented.fromJson(Map<String, dynamic> json) {
  return Commented(
      json['id'],
      DateTime.parse(json['sent']),
      json['recipientId'],
      json['number'],
      List.from(json['userIds']),
      json['text']);
}