Credentials.fromJson constructor

Credentials.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Credentials.fromJson(Map<String, dynamic> json) {
  return Credentials(
    accessKeyId: json['AccessKeyId'] as String?,
    expiration: timeStampFromJson(json['Expiration']),
    secretKey: json['SecretKey'] as String?,
    sessionToken: json['SessionToken'] as String?,
  );
}