requiredConfiguration top-level constant

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

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);