toJson method
Implementation
Map<String, dynamic> toJson() {
final expiresInSec = this.expiresInSec;
final roleArn = this.roleArn;
return {
if (expiresInSec != null) 'expiresInSec': expiresInSec,
if (roleArn != null) 'roleArn': roleArn,
};
}