fromMap static method

Implementation

static LabourAvailabilitySessionListScheduleList? fromMap(Object? body) {
  final source = readRecord(body);
  if (source == null) return null;
  return LabourAvailabilitySessionListScheduleList(
    available: readText(source['available']),
    endTime: readText(source['end_time']),
    preferredDay: readText(source['preferred_day']),
    startTime: readText(source['start_time']),
    uuid: readText(source['uuid']),
  );
}