environment property

ApptiveGridEnvironment environment

The current ApptiveGridEnvironment environment

Implementation

ApptiveGridEnvironment get environment => _environment;
void environment=(ApptiveGridEnvironment environment)

Updates environment and calls notifyListeners if the environment has changed. If the environment is the current one it will not do anything

Implementation

set environment(ApptiveGridEnvironment environment) {
  if (environment != _environment &&
      availableEnvironments.contains(environment)) {
    _environment = environment;
    notifyListeners();
  }
}