Creates an AWSCredentialsProvider for credentials injected via the platform-specific environment.
On the VM, this uses
Platform.environment. On the Web, this uses the
Dart environment, e.g.
--dart-define for Flutter.
To always use the Dart environment, use AWSCredentialsProvider.dartEnvironment instead.
- Implemented types
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
- runtimeTypeName → String
The string value of runtimeType, saving a runtime lookup and preventing
obfuscation during web compilation.