yamlKey property

String get yamlKey

Returns the top-level YAML key associated with this section.

Implementation

String get yamlKey {
  return switch (this) {
    ConfigSection.flavors => 'flavoring',
    ConfigSection.environment => 'environment',
    ConfigSection.firebase => 'firebase',
    ConfigSection.localization => 'localization',
  };
}