getAWSRegion function
Get the AWS region with fallback to default.
Implementation
String getAWSRegion() {
return Platform.environment['AWS_REGION'] ??
Platform.environment['AWS_DEFAULT_REGION'] ??
'us-east-1';
}
Get the AWS region with fallback to default.
String getAWSRegion() {
return Platform.environment['AWS_REGION'] ??
Platform.environment['AWS_DEFAULT_REGION'] ??
'us-east-1';
}