resolve method

  1. @override
Future<String?> resolve(
  1. List<String> key
)
override

Implementation

@override
Future<String?> resolve(List<String> key) async {
  var envKey = key.join("_");
  var env = Platform.environment.entries;
  return env
      .firstWhereOrNull(
          (element) => equalsIgnoreAsciiCase(element.key, envKey))
      ?.value;
}