AccessSchedule class

Available extensions
Annotations
  • @CopyWith.new()
  • @JsonSerializable.new(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

AccessSchedule({int? id, String? userId, DynamicDayOfWeek? dayOfWeek, double? startHour, double? endHour})
Returns a new AccessSchedule instance.
AccessSchedule.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$AccessScheduleCWProxy

Available on AccessSchedule, provided by the $AccessScheduleCopyWith extension

Returns a callable class used to build a new instance with modified fields. Example: instanceOfAccessSchedule.copyWith(...) or instanceOfAccessSchedule.copyWith.fieldName(...).
no setter
dayOfWeek DynamicDayOfWeek?
Gets or sets the day of week.
final
endHour double?
Gets or sets the end hour.
final
hashCode int
The hash code for this object.
no setteroverride
id int?
Gets the id of this instance.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startHour double?
Gets or sets the start hour.
final
userId String?
Gets the id of the associated user.
final

Methods

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

Operators

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