AAttendrix Docsv1.0
Mobile
ReferenceImplemented

Mobile Structs Reference

Authoritative catalog and field specifications for all 33 FlutterFlow BaseStruct data models in Attendrix.

Mobile Structs Reference

In FlutterFlow, data models passed between pages, components, and local app state are structured as subclasses of BaseStruct. Attendrix defines 33 strongly typed structs in lib/backend/schema/structs/ to model timetable slots, cached attendance metrics, transit coordinates, and offline routing topologies.


Structs Inventory

Class NameSource FileFields CountDomain
ApodStructapod_struct.dart9System & Caching
AppBootstrapStructapp_bootstrap_struct.dart8System & Caching
AttendanceCalculatorDataStructattendance_calculator_data_struct.dart4Attendance
AttendanceStructattendance_struct.dart4Attendance
BusArrivalStructbus_arrival_struct.dart6Transit & Campus Routing
BusRouteStructbus_route_struct.dart5Transit & Campus Routing
BusTimingStructbus_timing_struct.dart4Transit & Campus Routing
CacheMetadataStructcache_metadata_struct.dart11System & Caching
CampusBuildingStructcampus_building_struct.dart9Transit & Campus Routing
CoreCourseStructcore_course_struct.dart6Academics & Timetable
CourseHourRowStructcourse_hour_row_struct.dart2Academics & Timetable
CourseSyllabusStructcourse_syllabus_struct.dart13Academics & Timetable
ElectiveCourseStructelective_course_struct.dart6Academics & Timetable
ElectiveRuleStructelective_rule_struct.dart2Academics & Timetable
EnrolledCourseStructenrolled_course_struct.dart10Academics & Timetable
FeedbackStructfeedback_struct.dart3Identity & Preferences
GeometryStructgeometry_struct.dart2Transit & Campus Routing
GraphEdgeStructgraph_edge_struct.dart6Transit & Campus Routing
LabCourseSlotStructlab_course_slot_struct.dart7Academics & Timetable
LabSubBatchStructlab_sub_batch_struct.dart5Academics & Timetable
MarkAbsentResponseStructmark_absent_response_struct.dart5Attendance
MessMenuStructmess_menu_struct.dart3Transit & Campus Routing
MessStructmess_struct.dart3Transit & Campus Routing
NextBusInfoStructnext_bus_info_struct.dart10Transit & Campus Routing
PendingNotificationStructpending_notification_struct.dart3Notifications
PolylineStructpolyline_struct.dart2Transit & Campus Routing
RollNumberDetailsStructroll_number_details_struct.dart2Identity & Preferences
RouteResultStructroute_result_struct.dart21Transit & Campus Routing
ScheduledClassStructscheduled_class_struct.dart13Academics & Timetable
SyllabusModuleStructsyllabus_module_struct.dart2Academics & Timetable
UserPreferencesStructuser_preferences_struct.dart32Identity & Preferences
UserProfileStructuser_profile_struct.dart12Identity & Preferences
WalkCalculationResultStructwalk_calculation_result_struct.dart3Transit & Campus Routing

Detailed Struct Specifications

ApodStruct

File: lib/backend/schema/structs/apod_struct.dart

Field / PropTypeDefaultDescription
apodDate
String?Field `apodDate` stored as `String?`.
title
String?Field `title` stored as `String?`.
description
String?Field `description` stored as `String?`.
imageUrl
String?Field `imageUrl` stored as `String?`.
hdImageUrl
String?Field `hdImageUrl` stored as `String?`.
mediaType
String?Field `mediaType` stored as `String?`.
shareUrl
String?Field `shareUrl` stored as `String?`.
copyright
String?Field `copyright` stored as `String?`.
fetchedAt
DateTime?Field `fetchedAt` stored as `DateTime?`.

AppBootstrapStruct

File: lib/backend/schema/structs/app_bootstrap_struct.dart

Field / PropTypeDefaultDescription
onboarding_completed
bool?Field `onboarding_completed` stored as `bool?`.
needs_force_update
bool?Field `needs_force_update` stored as `bool?`.
current_version
String?Field `current_version` stored as `String?`.
current_build_number
int?Field `current_build_number` stored as `int?`.
version_download_link
String?Field `version_download_link` stored as `String?`.
release_notes
String?Field `release_notes` stored as `String?`.
is_web_available
bool?Field `is_web_available` stored as `bool?`.
hasError
bool?Field `hasError` stored as `bool?`.

AttendanceCalculatorDataStruct

File: lib/backend/schema/structs/attendance_calculator_data_struct.dart

Field / PropTypeDefaultDescription
projectedAttended
int?Field `projectedAttended` stored as `int?`.
projectedTotal
int?Field `projectedTotal` stored as `int?`.
projectedAttendance
double?Field `projectedAttendance` stored as `double?`.
attendanceInsights
List<String>?Field `attendanceInsights` stored as `List<String>?`.

AttendanceStruct

File: lib/backend/schema/structs/attendance_struct.dart

Field / PropTypeDefaultDescription
attended
int?Field `attended` stored as `int?`.
missed
int?Field `missed` stored as `int?`.
percentage
double?Field `percentage` stored as `double?`.
required
int?Field `required` stored as `int?`.

BusArrivalStruct

File: lib/backend/schema/structs/bus_arrival_struct.dart

Field / PropTypeDefaultDescription
busId
String?Field `busId` stored as `String?`.
destination
String?Field `destination` stored as `String?`.
arrivalMinutes
int?Field `arrivalMinutes` stored as `int?`.
arrivalTime
DateTime?Field `arrivalTime` stored as `DateTime?`.
isNext
bool?Field `isNext` stored as `bool?`.
isAvailable
bool?Field `isAvailable` stored as `bool?`.

BusRouteStruct

File: lib/backend/schema/structs/bus_route_struct.dart

Field / PropTypeDefaultDescription
busId
String?Field `busId` stored as `String?`.
routeName
String?Field `routeName` stored as `String?`.
stopsSummary
String?Field `stopsSummary` stored as `String?`.
isActive
bool?Field `isActive` stored as `bool?`.
timings
List<BusTimingStruct>?Field `timings` stored as `List<BusTimingStruct>?`.

BusTimingStruct

File: lib/backend/schema/structs/bus_timing_struct.dart

Field / PropTypeDefaultDescription
timingId
String?Field `timingId` stored as `String?`.
departureTime
String?Field `departureTime` stored as `String?`.
isSpecial
bool?Field `isSpecial` stored as `bool?`.
sortOrder
int?Field `sortOrder` stored as `int?`.

CacheMetadataStruct

File: lib/backend/schema/structs/cache_metadata_struct.dart

Field / PropTypeDefaultDescription
appVersion
String?Field `appVersion` stored as `String?`.
profileUpdatedAt
int?Field `profileUpdatedAt` stored as `int?`.
userPreferencesUpdatedAt
int?Field `userPreferencesUpdatedAt` stored as `int?`.
dashboardUpdatedAt
int?Field `dashboardUpdatedAt` stored as `int?`.
absencesUpdatedAt
int?Field `absencesUpdatedAt` stored as `int?`.
calendarClassesUpdatedAt
int?Field `calendarClassesUpdatedAt` stored as `int?`.
busUpdatedAt
int?Field `busUpdatedAt` stored as `int?`.
messUpdatedAt
int?Field `messUpdatedAt` stored as `int?`.
apodLastFetchedAt
DateTime?Field `apodLastFetchedAt` stored as `DateTime?`.
generatedAt
int?Field `generatedAt` stored as `int?`.
calendarDates
List<String>?Field `calendarDates` stored as `List<String>?`.

CampusBuildingStruct

File: lib/backend/schema/structs/campus_building_struct.dart

Field / PropTypeDefaultDescription
id
String?Field `id` stored as `String?`.
name
String?Field `name` stored as `String?`.
category
String?Field `category` stored as `String?`.
lat
double?Field `lat` stored as `double?`.
lng
double?Field `lng` stored as `double?`.
nearest_node_id
String?Field `nearest_node_id` stored as `String?`.
snap_dist_m
double?Field `snap_dist_m` stored as `double?`.
description
String?Field `description` stored as `String?`.
created_at
String?Field `created_at` stored as `String?`.

CoreCourseStruct

File: lib/backend/schema/structs/core_course_struct.dart

Field / PropTypeDefaultDescription
course_id
String?Field `course_id` stored as `String?`.
course_code
String?Field `course_code` stored as `String?`.
course_name
String?Field `course_name` stored as `String?`.
credits
int?Field `credits` stored as `int?`.
slot
String?Field `slot` stored as `String?`.
course_type_code
String?Field `course_type_code` stored as `String?`.

CourseHourRowStruct

File: lib/backend/schema/structs/course_hour_row_struct.dart

Field / PropTypeDefaultDescription
label
String?Field `label` stored as `String?`.
value
int?Field `value` stored as `int?`.

CourseSyllabusStruct

File: lib/backend/schema/structs/course_syllabus_struct.dart

Field / PropTypeDefaultDescription
courseCode
String?Field `courseCode` stored as `String?`.
courseName
String?Field `courseName` stored as `String?`.
syllabusPath
String?Field `syllabusPath` stored as `String?`.
prerequisites
String?Field `prerequisites` stored as `String?`.
lectureHours
int?Field `lectureHours` stored as `int?`.
tutorialHours
int?Field `tutorialHours` stored as `int?`.
practicalHours
int?Field `practicalHours` stored as `int?`.
outsideHours
int?Field `outsideHours` stored as `int?`.
lectureSessions
int?Field `lectureSessions` stored as `int?`.
courseOutcomes
List<String>?Field `courseOutcomes` stored as `List<String>?`.
modules
List<SyllabusModuleStruct>?Field `modules` stored as `List<SyllabusModuleStruct>?`.
textbooks
List<String>?Field `textbooks` stored as `List<String>?`.
references
List<String>?Field `references` stored as `List<String>?`.

ElectiveCourseStruct

File: lib/backend/schema/structs/elective_course_struct.dart

Field / PropTypeDefaultDescription
course_id
String?Field `course_id` stored as `String?`.
course_code
String?Field `course_code` stored as `String?`.
course_name
String?Field `course_name` stored as `String?`.
elective_category
String?Field `elective_category` stored as `String?`.
credits
int?Field `credits` stored as `int?`.
slot
String?Field `slot` stored as `String?`.

ElectiveRuleStruct

File: lib/backend/schema/structs/elective_rule_struct.dart

Field / PropTypeDefaultDescription
elective_category
String?Field `elective_category` stored as `String?`.
required_count
int?Field `required_count` stored as `int?`.

EnrolledCourseStruct

File: lib/backend/schema/structs/enrolled_course_struct.dart

Field / PropTypeDefaultDescription
courseId
String?Field `courseId` stored as `String?`.
courseCode
String?Field `courseCode` stored as `String?`.
courseName
String?Field `courseName` stored as `String?`.
courseType
String?Field `courseType` stored as `String?`.
slot
String?Field `slot` stored as `String?`.
credits
int?Field `credits` stored as `int?`.
isLab
bool?Field `isLab` stored as `bool?`.
isElective
bool?Field `isElective` stored as `bool?`.
electiveCategory
String?Field `electiveCategory` stored as `String?`.
attendance
AttendanceStruct?Field `attendance` stored as `AttendanceStruct?`.

FeedbackStruct

File: lib/backend/schema/structs/feedback_struct.dart

Field / PropTypeDefaultDescription
success
bool?Field `success` stored as `bool?`.
statusCode
int?Field `statusCode` stored as `int?`.
message
String?Field `message` stored as `String?`.

GeometryStruct

File: lib/backend/schema/structs/geometry_struct.dart

Field / PropTypeDefaultDescription
latitude
double?Field `latitude` stored as `double?`.
longitude
double?Field `longitude` stored as `double?`.

GraphEdgeStruct

File: lib/backend/schema/structs/graph_edge_struct.dart

Field / PropTypeDefaultDescription
fromNode
String?Field `fromNode` stored as `String?`.
toNode
String?Field `toNode` stored as `String?`.
distM
double?Field `distM` stored as `double?`.
highway
String?Field `highway` stored as `String?`.
wayId
String?Field `wayId` stored as `String?`.
geometry
List<GeometryStruct>?Field `geometry` stored as `List<GeometryStruct>?`.

LabCourseSlotStruct

File: lib/backend/schema/structs/lab_course_slot_struct.dart

Field / PropTypeDefaultDescription
course_id
String?Field `course_id` stored as `String?`.
course_code
String?Field `course_code` stored as `String?`.
course_name
String?Field `course_name` stored as `String?`.
credits
int?Field `credits` stored as `int?`.
slot
String?Field `slot` stored as `String?`.
has_sub_batches
bool?Field `has_sub_batches` stored as `bool?`.
sub_batches
List<LabSubBatchStruct>?Field `sub_batches` stored as `List<LabSubBatchStruct>?`.

LabSubBatchStruct

File: lib/backend/schema/structs/lab_sub_batch_struct.dart

Field / PropTypeDefaultDescription
course_id
String?Field `course_id` stored as `String?`.
sub_batch
String?Field `sub_batch` stored as `String?`.
day_of_week
int?Field `day_of_week` stored as `int?`.
start_time
String?Field `start_time` stored as `String?`.
end_time
String?Field `end_time` stored as `String?`.

MarkAbsentResponseStruct

File: lib/backend/schema/structs/mark_absent_response_struct.dart

Field / PropTypeDefaultDescription
success
bool?Field `success` stored as `bool?`.
is_absent
bool?Field `is_absent` stored as `bool?`.
class_id
String?Field `class_id` stored as `String?`.
user_id
String?Field `user_id` stored as `String?`.
timestamp
String?Field `timestamp` stored as `String?`.

MessMenuStruct

File: lib/backend/schema/structs/mess_menu_struct.dart

Field / PropTypeDefaultDescription
weekday
int?Field `weekday` stored as `int?`.
meal
String?Field `meal` stored as `String?`.
menu
String?Field `menu` stored as `String?`.

MessStruct

File: lib/backend/schema/structs/mess_struct.dart

Field / PropTypeDefaultDescription
messId
String?Field `messId` stored as `String?`.
name
String?Field `name` stored as `String?`.
menu
List<MessMenuStruct>?Field `menu` stored as `List<MessMenuStruct>?`.

NextBusInfoStruct

File: lib/backend/schema/structs/next_bus_info_struct.dart

Field / PropTypeDefaultDescription
routeName
String?Field `routeName` stored as `String?`.
nearestStop
String?Field `nearestStop` stored as `String?`.
departureTime
DateTime?Field `departureTime` stored as `DateTime?`.
minutesRemaining
int?Field `minutesRemaining` stored as `int?`.
isSpecial
bool?Field `isSpecial` stored as `bool?`.
hasAnotherBusToday
bool?Field `hasAnotherBusToday` stored as `bool?`.
walkingDistanceMeters
int?Field `walkingDistanceMeters` stored as `int?`.
walkingTimeMinutes
int?Field `walkingTimeMinutes` stored as `int?`.
lastUpdated
DateTime?Field `lastUpdated` stored as `DateTime?`.
isAvailable
bool?Field `isAvailable` stored as `bool?`.

PendingNotificationStruct

File: lib/backend/schema/structs/pending_notification_struct.dart

Field / PropTypeDefaultDescription
type
String?Field `type` stored as `String?`.
id
String?Field `id` stored as `String?`.
hasValue
bool?Field `hasValue` stored as `bool?`.

PolylineStruct

File: lib/backend/schema/structs/polyline_struct.dart

Field / PropTypeDefaultDescription
latitude
double?Field `latitude` stored as `double?`.
longitude
double?Field `longitude` stored as `double?`.

RollNumberDetailsStruct

File: lib/backend/schema/structs/roll_number_details_struct.dart

Field / PropTypeDefaultDescription
departmentId
String?Field `departmentId` stored as `String?`.
semesterNumber
int?Field `semesterNumber` stored as `int?`.

RouteResultStruct

File: lib/backend/schema/structs/route_result_struct.dart

Field / PropTypeDefaultDescription
busId
String?Field `busId` stored as `String?`.
routeName
String?Field `routeName` stored as `String?`.
walkTimeMinutes
int?Field `walkTimeMinutes` stored as `int?`.
nearestStopName
String?Field `nearestStopName` stored as `String?`.
nextBusDestination
String?Field `nextBusDestination` stored as `String?`.
nextBusMinutes
int?Field `nextBusMinutes` stored as `int?`.
nextBusTime
DateTime?Field `nextBusTime` stored as `DateTime?`.
availableBuses
List<BusArrivalStruct>?Field `availableBuses` stored as `List<BusArrivalStruct>?`.
updatedAt
DateTime?Field `updatedAt` stored as `DateTime?`.
hasAvailableBus
bool?Field `hasAvailableBus` stored as `bool?`.
distanceMeters
double?Field `distanceMeters` stored as `double?`.
formattedDistance
String?Field `formattedDistance` stored as `String?`.
durationSeconds
int?Field `durationSeconds` stored as `int?`.
formattedDuration
String?Field `formattedDuration` stored as `String?`.
walkMinutes
int?Field `walkMinutes` stored as `int?`.
leaveInMinutes
int?Field `leaveInMinutes` stored as `int?`.
isLeaveNow
bool?Field `isLeaveNow` stored as `bool?`.
isLate
bool?Field `isLate` stored as `bool?`.
statusMessage
String?Field `statusMessage` stored as `String?`.
polyline
List<LatLng>?Field `polyline` stored as `List<LatLng>?`.
confidence
String?Field `confidence` stored as `String?`.

ScheduledClassStruct

File: lib/backend/schema/structs/scheduled_class_struct.dart

Field / PropTypeDefaultDescription
classId
String?Field `classId` stored as `String?`.
courseId
String?Field `courseId` stored as `String?`.
courseCode
String?Field `courseCode` stored as `String?`.
courseName
String?Field `courseName` stored as `String?`.
batchId
String?Field `batchId` stored as `String?`.
courseCategory
CourseType?Field `courseCategory` stored as `CourseType?`.
scheduledStart
DateTime?Field `scheduledStart` stored as `DateTime?`.
scheduledEnd
DateTime?Field `scheduledEnd` stored as `DateTime?`.
venue
String?Field `venue` stored as `String?`.
labGroup
String?Field `labGroup` stored as `String?`.
isPlusSlot
bool?Field `isPlusSlot` stored as `bool?`.
isExtraClass
bool?Field `isExtraClass` stored as `bool?`.
isAbsent
bool?Field `isAbsent` stored as `bool?`.

SyllabusModuleStruct

File: lib/backend/schema/structs/syllabus_module_struct.dart

Field / PropTypeDefaultDescription
title
String?Field `title` stored as `String?`.
topics
List<String>?Field `topics` stored as `List<String>?`.

UserPreferencesStruct

File: lib/backend/schema/structs/user_preferences_struct.dart

Field / PropTypeDefaultDescription
enableAPOD
bool?Field `enableAPOD` stored as `bool?`.
preferredTimeFormat
TimeFormat?Field `preferredTimeFormat` stored as `TimeFormat?`.
userMess
String?Field `userMess` stored as `String?`.
preferredActionTone
ActionTone?Field `preferredActionTone` stored as `ActionTone?`.
atAGlanceView
bool?Field `atAGlanceView` stored as `bool?`.
attendanceThreshold
int?Field `attendanceThreshold` stored as `int?`.
useScheduledClassesForGreetingMessage
bool?Field `useScheduledClassesForGreetingMessage` stored as `bool?`.
useActionToneForGreetingMessage
bool?Field `useActionToneForGreetingMessage` stored as `bool?`.
theme
String?Field `theme` stored as `String?`.
timezone
String?Field `timezone` stored as `String?`.
language
String?Field `language` stored as `String?`.
notificationsEnabled
bool?Field `notificationsEnabled` stored as `bool?`.
notifClassReminder
bool?Field `notifClassReminder` stored as `bool?`.
notifReminderMinutes
int?Field `notifReminderMinutes` stored as `int?`.
notifClassCancelled
bool?Field `notifClassCancelled` stored as `bool?`.
notifClassRescheduled
bool?Field `notifClassRescheduled` stored as `bool?`.
notifTaskPublished
bool?Field `notifTaskPublished` stored as `bool?`.
notifTaskDueSoon
bool?Field `notifTaskDueSoon` stored as `bool?`.
notifExamReminder
bool?Field `notifExamReminder` stored as `bool?`.
notifDailyBrief
bool?Field `notifDailyBrief` stored as `bool?`.
notifAttendanceAlert
bool?Field `notifAttendanceAlert` stored as `bool?`.
notifWeeklySummary
bool?Field `notifWeeklySummary` stored as `bool?`.
quietHoursEnabled
bool?Field `quietHoursEnabled` stored as `bool?`.
quietHoursStart
String?Field `quietHoursStart` stored as `String?`.
quietHoursEnd
String?Field `quietHoursEnd` stored as `String?`.
notifMessReminder
bool?Field `notifMessReminder` stored as `bool?`.
notifBreakfastReminder
bool?Field `notifBreakfastReminder` stored as `bool?`.
notifLunchReminder
bool?Field `notifLunchReminder` stored as `bool?`.
notifEveningTeaReminder
bool?Field `notifEveningTeaReminder` stored as `bool?`.
notifDinnerReminder
bool?Field `notifDinnerReminder` stored as `bool?`.
notifMessReminderMinutes
int?Field `notifMessReminderMinutes` stored as `int?`.
dailyBriefTime
String?Field `dailyBriefTime` stored as `String?`.

UserProfileStruct

File: lib/backend/schema/structs/user_profile_struct.dart

Field / PropTypeDefaultDescription
userId
String?Field `userId` stored as `String?`.
username
String?Field `username` stored as `String?`.
email
String?Field `email` stored as `String?`.
role
String?Field `role` stored as `String?`.
departmentId
String?Field `departmentId` stored as `String?`.
batchId
String?Field `batchId` stored as `String?`.
currentSemester
int?Field `currentSemester` stored as `int?`.
enrolledCourses
List<EnrolledCourseStruct>?Field `enrolledCourses` stored as `List<EnrolledCourseStruct>?`.
amplixBalance
int?Field `amplixBalance` stored as `int?`.
profileUpdatedAt
DateTime?Field `profileUpdatedAt` stored as `DateTime?`.
onboardingComplete
bool?Field `onboardingComplete` stored as `bool?`.
odometer
int?Field `odometer` stored as `int?`.

WalkCalculationResultStruct

File: lib/backend/schema/structs/walk_calculation_result_struct.dart

Field / PropTypeDefaultDescription
distanceMeters
int?Field `distanceMeters` stored as `int?`.
walkMinutes
int?Field `walkMinutes` stored as `int?`.
found
bool?Field `found` stored as `bool?`.

Was this page helpful?

Your feedback directly guides the engineering documentation roadmap.

On this page