ClockTime class

Employee model for Ahgora API

This class uses generated sources (json_serializable). Before compiling or running you must generate the sources. Read more about here: https://flutter.dev/docs/development/data-and-backend/json

flutter pub run build_runner build or flutter pub run build_runner watch

Annotations
  • @JsonSerializable()

Constructors

ClockTime(DateTime time, ClockTimeType type)
ClockTime.fromJson(Map<String, dynamic> json)
A necessary factory constructor for creating a new User instance from a map. Pass the map to the generated _$ClockTimeFromJson() constructor. The constructor is named after the source class, in this case, User.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time DateTime
getter/setter pair
type ClockTimeType
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJson is the convention for a class to declare support for serialization to JSON. The implementation simply calls the private, generated helper method _$ClockTimeToJson.
toString() String
A string representation of this object.
inherited

Operators

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