EnvConfig constructor

EnvConfig(
  1. {String name,
  2. String apiUrl,
  3. String graphqlUrl,
  4. String authApiUrl,
  5. String graphqlSecret,
  6. String wssGraphqlUrl}
)

Implementation

EnvConfig(
    {String name,
    String apiUrl,
    String graphqlUrl,
    String authApiUrl,
    String graphqlSecret, String wssGraphqlUrl}) {
  this.name = name;
  this.apiUrl = Util.checkApiUrl(apiUrl);
  this.authApiUrl = Util.checkApiUrl(authApiUrl);
  this.graphqlUrl = graphqlUrl;
  this.graphqlSecret = graphqlSecret;
  this.wssGraphqlUrl = wssGraphqlUrl;
}