Liked.fromJson constructor

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

Implementation

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