updateSync method
void
updateSync(
- T updater(
- T current
Cập nhật đồng bộ bằng 1 hàm cập nhật
Implementation
void updateSync(T Function(T current) updater) {
value = updater(_value);
}
Cập nhật đồng bộ bằng 1 hàm cập nhật
void updateSync(T Function(T current) updater) {
value = updater(_value);
}