Like.fromJson constructor

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

The default constructor.

Implementation

factory Like.fromJson(Map<String, dynamic> json) {
  return Like._(
    category: json['category'] as String?,
    id: json['id'] as String?,
    name: json['name'] as String?,
    time: json['time'] as String?,
    timestamp: json['timestamp'] as double?,
  );
}