url property
String
url
Returns the API url for the selected ActiveGridEnvironment
Implementation
String get url {
switch (this) {
case ActiveGridEnvironment.alpha:
return 'https://alpha.activegrid.de';
case ActiveGridEnvironment.beta:
return 'https://beta.activegrid.de';
case ActiveGridEnvironment.production:
return 'https://app.activegrid.de';
}
}