ClockAcceptModel class
The ClockAcceptModel
class represents a model for clock acceptance.
This model contains information about the acceptance status of a clock entry, including whether it is marked as late, whether the location is accepted, and whether the image is accepted.
Constructors
- ClockAcceptModel({bool? isLate, bool? acceptedLocation, bool? acceptedImage})
-
Creates a new instance of the
ClockAcceptModel
class.const -
ClockAcceptModel.fromJson(Map<
String, dynamic> json) -
Creates a new instance of the
ClockAcceptModel
class from a JSON map.factory
Properties
- acceptedImage → bool?
-
Indicates whether the image is accepted.
final
- acceptedLocation → bool?
-
Indicates whether the location is accepted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLate → bool?
-
Indicates whether the clock entry is marked as late.
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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the
ClockAcceptModel
instance to a JSON map. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited