CowCurrentStatusScreenVM class Null safety ViewModels

개체현황 스크린 VM

Inheritance

Constructors

CowCurrentStatusScreenVM()

Properties

cowDatas List<CowData>?
read / write
cows List<Cow>?
read / write
cowStatusToday CowStatus?
read / write
cowStatusYesterday CowStatus?
read / write
dataTableColumns List<DataTableColumn>
read / write
dataTableRows List<DataTableRow>?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasListeners bool
Whether any listeners are currently registered. [...]
@protected, read-only, inherited
refreshController RefreshController
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selectedDateTime DateTime
read / write
sortColumnIdx int?
read / write
sortIsAscending bool
read / write

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes. [...]
inherited
checkIfCowGroupChanged(CowGroupState cowGroupState) Future<void>
사용자가 다른 그룹을 선택하였는지를 확인하고 맞다면 새로고침을 수행합니다.
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener and removeListener will throw after the object is disposed). [...]
@mustCallSuper, inherited
fetchCowData() Future<void>
소 데이터를 가져옴
fetchCowDataListener(List<CowData>? _) → void
fetchCowsCntByStatus() Future<void>
init() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
notifyListeners() → void
Call all the registered listeners. [...]
onLoading() Future<void>
더 불러오기
onPressCalendar() → dynamic
달력을 눌렀을때
onPressNextDate() → dynamic
다음날을 눌렀을때
onPressPrevDate() → dynamic
이전날을 눌렀을때
onRefresh() Future<void>
새로고침
onSelectChanged(bool? value, Cow? cow) → void
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes. [...]
inherited
requestRefresh() → void
새로고침 요청
toString() String
A string representation of this object. [...]
inherited
updateDataTableColumns() → dynamic
updateDataTableRows() → dynamic

Operators

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