BreakTimeModel class
Represents a model for break time information.
Constructors
-
BreakTimeModel({required int id, BreakTimeType? type, AttendanceImageModel? image, double? latitude, double? longitude, String? address, String? notes, List<
String> ? files}) -
Constructs a BreakTimeModel object.
const
-
BreakTimeModel.fromJson(Map<
String, dynamic> json) -
Constructs a BreakTimeModel object from a JSON representation.
factory
Properties
- address → String?
-
The address of the break time location.
final
-
files
→ List<
String> ? -
List of file names associated with the break time.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
The unique identifier for the break time.
final
- image → AttendanceImageModel?
-
The image associated with the break time.
final
- latitude → double?
-
The latitude coordinate of the break time location.
final
- longitude → double?
-
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
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - type → BreakTimeType?
-
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 BreakTimeModel object to a JSON representation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited