get<T> method

  1. @override
T get<T>(
  1. String key, {
  2. T? defaultValue,
})
override

Get environment key from .env file as T

Implementation

@override
T get<T> (String key, { T? defaultValue }) => (_cache[key] ?? defaultValue) as T;