section abstract method
Retrieves an entire named configuration section as a nested map.
For example, if your config has a database section:
{
"database": {
"host": "localhost",
"port": 3306
}
}
You can retrieve it via:
final dbConfig = config.section('database');
Returns null if the section does not exist.
Implementation
Map<String, dynamic>? section(String name);