toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "user_id": userId,
      "type_id": typeId,
      "type": type,
      "full_name": fullName,
      "activity_type": activityType,
      "profile_image": profileImage,
      "created_at": createdAt,
      "activity_message": activityMessage,
    };