refresh method

  1. @override
void refresh()
override

Calls the State object's refresh() function if not already in the SetState.builder() function (see class SetState below). The refresh() function is just another name used to call the State object's setState() function.

Implementation

@override
void refresh() {
  if (!inBuilder) {
    super.refresh();
  }
}