EnvProperty class

Constructors

EnvProperty(String key, {String? value, String? defaultValue, bool required = true})
const

Properties

dartDefine String
See issue: https://github.com/flutter/flutter/issues/55870 .fromEnvironment() work only with const keyword.
no setter
defaultValue String?
final
hashCode int
The hash code for this object.
no setteroverride
key String
final
required bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
final

Methods

copyWith({String? value, String? defaultValue, bool? required}) EnvProperty
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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