maybeGet method

  1. @override
String? maybeGet(
  1. String key, {
  2. String? fallback,
})
override

Returns the value of the environment variable specified by key, or the fallback value if not found, or null if neither is found.

Implementation

@override
String? maybeGet(String key, {String? fallback}) {
  return dotenv.maybeGet(key, fallback: fallback);
}