fromEnv static method

dynamic fromEnv({
  1. String prefix = "",
})

Implementation

static fromEnv({String prefix = ""}) {
  final accessToken = Platform.environment[prefix + "ACCESS_TOKEN"];
  return Configuration(
    accessToken: accessToken,
  );
}