Credentials.fromJson constructor
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?,
);
}