timeoutBeforeShowingLoadingMill property

int get timeoutBeforeShowingLoadingMill

Implementation

static int get timeoutBeforeShowingLoadingMill {
  const envValue = int.fromEnvironment('timeoutBeforeShowingLoadingMill', defaultValue: -1);
  if (envValue != -1) {
    return envValue;
  } else {
    final remoteValue = g<RemoteConfigRepoInt>().getInt('timeoutBeforeShowingLoadingMill');
    if (remoteValue > 0) {
      return remoteValue;
    } else {
      return defaultRemoteConfig['timeoutBeforeShowingLoadingMill'] as int;
    }
  }
}