update method

  1. @override
void update(
  1. ScienceData value
)
override

Updates data with new data.

Implementation

@override
void update(ScienceData value){
    if (!checkVersion(value)) return;
	if (value.state == ScienceState.STOP_COLLECTING) return;
	super.update(value);
}