BreakTimeBodyModel class

Represents a model for break time information.

Constructors

BreakTimeBodyModel({required String date, required String clock, required BreakTimeType type, String? notes, String? latitude, String? longitude, int? imageId, String? address, List<String>? files})
Constructs a BreakTimeBodyModel object.
const

Properties

address String?
The address of the break time location.
final
clock String
Represents the clock time of the break.
final
date String
Represents the date of the break time.
final
files List<String>?
List of file names associated with the break time.
final
hashCode int
The hash code for this object.
no setterinherited
imageId int?
The ID of the image associated with the break time.
final
latitude String?
The latitude coordinate of the break time location.
final
longitude String?
The longitude coordinate of the break time location.
final
notes String?
Optional notes about the break time.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
type BreakTimeType
Represents the type of break time.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the BreakTimeBodyModel object to a JSON representation.
toString() String
A string representation of this object.
inherited

Operators

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