LabourCalendar class

What getLabourCalendar answers, under labour_calendar: a LabourAvailability record for one labour.

Inheritance

Constructors

LabourCalendar({List<Object?>? availableList, String? code, String? displayName, String? emailAddress, String? id, LabourAvailabilityLabourProfile? labourProfile, String? name, String? object, Object? processedScheduleList, List<LabourAvailabilityScheduleList?>? scheduleList, List<LabourAvailabilitySessionList?>? sessionList, String? status, List<Object?>? unavailableList, bool? useCustomAvailability, int? version})
const

Properties

availableList → List<Object?>?
final
code → String?
final
displayName → String?
final
emailAddress → String?
final
envelopeKey → String?
The key the API wraps this record in - 'account' for {"account": {...}}. readRecord unwraps it on the way in, toMap puts it back on the way out.
no setteroverride
fields → Map<String, Object?>
Every field this type declares, keyed by wire name, in the order it sends them.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String?
final
labourProfile → LabourAvailabilityLabourProfile?
final
name → String?
final
object → String?
final
processedScheduleList → Object?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduleList → List<LabourAvailabilityScheduleList?>?
final
sessionList → List<LabourAvailabilitySessionList?>?
final
status → String?
final
topLevelFields → Set<String>
Fields that sit beside the envelope rather than inside it.
no setterinherited
unavailableList → List<Object?>?
final
useCustomAvailability → bool?
final
version → int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
The body this DTO stands for, envelope included.
inherited
toString() → String
Set fields, values under a secret-named key masked.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromMap(Object? body) → LabourCalendar?

Constants

measuredFrom → const List<String>