exists method

bool exists()

Determines whether the section has a ConfigurationSection value or has children

Implementation

bool exists() => value != null || getChildren().isNotEmpty;