RegimenItem class abstract

Annotations
  • @freezed

Constructors

RegimenItem({@Default.new(null) int? date, @Default.new(null) int? dayNumber, @Default.new(null) Weekday? weekday, @Default.new(null) CodeStub? dayPeriod, @Default.new(null) int? timeOfDay, @Default.new(null) AdministrationQuantity? administratedQuantity})
const
factory

Properties

administratedQuantity AdministrationQuantity?
no setterinherited
copyWith → $RegimenItemCopyWith<RegimenItem>
Create a copy of RegimenItem with the given fields replaced by the non-null parameter values.
no setterinherited
date int?
no setterinherited
dayNumber int?
no setterinherited
dayPeriod CodeStub?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeOfDay int?
no setterinherited
weekday Weekday?
no setterinherited

Methods

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

Operators

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

Static Methods

encode(RegimenItem value) Map<String, dynamic>
fromJSON(Map<String, dynamic> data) RegimenItem