getDeveloperOptionNullSafe method

bool getDeveloperOptionNullSafe(
  1. String key
)

Get developer option. Returns false if doesn't exist yet

Implementation

bool getDeveloperOptionNullSafe(String key) {
  return getDeveloperOption(key) ?? false;
}