PostReview.fromJson constructor

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

Implementation

factory PostReview.fromJson(Map<String, dynamic> json) => PostReview(
      id: json["id"],
      userId: json["user_id"],
      typeId: json["type_id"],
      type: json["type"],
      fullName: json["full_name"],
      activityType: json["activity_type"],
      profileImage: json["profile_image"],
      createdAt: json["created_at"],
      activityMessage: json["activity_message"],
    );