requiredConfiguration top-level constant Null safety

ConfigurationItemAttribute const requiredConfiguration
@Deprecated("Use `late` property")

A ConfigurationItemAttribute for required properties.

NOTICE: This will be removed in version 2.0.0. To signify required or optional config you could do: Example:

class MyConfig extends Config {
   late String required;
   String? optional;
   String optionalWithDefult = 'default';
   late String optionalWithComputedDefault = _default();

   String _default() => 'computed';
}

Implementation

@Deprecated("Use `late` property")
const ConfigurationItemAttribute requiredConfiguration =
    ConfigurationItemAttribute._(ConfigurationItemAttributeType.required);