BarDataDay class Null safety Models
소데이터 그래프에서 사용되는 모델입니다. BarDataDay 안에 BarDataHour가 배열로 들어가 있습니다. 보통 CowData 모델을 그래프에서 사용하기위해 BarDataDay, BarDataHour로 변환하는 과정을 거칩니다. Helper.convertCowDataToGraphData 를 참고해주세요.
Constructors
-
BarDataDay({required List<
BarDataHour?> barDataHour, required DateTime dateTime, required DateTime sunRiseDateTime, required DateTime sunSetDateTime, required String label})
Properties
-
barDataHour
↔ List<
BarDataHour?> -
시간별 그래프 데이터
read / write
- dateTime → DateTime
-
해당 바의 날짜입니다.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- label → String
-
그래프에서 표시되는 x축 라벨 텍스트입니다.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sunRiseDateTime → DateTime
-
일출 시간을 담은 변수입니다.
final
- sunSetDateTime → DateTime
-
일몰 시간을 담은 변수입니다.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited