ConfigurationItemAttribute class Null safety

Configuration properties may be attributed with these.

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';
}

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type ConfigurationItemAttributeType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited