GetCallerIdentityResult.fromMap constructor
GetCallerIdentityResult.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GetCallerIdentityResult.fromMap(Map<String, dynamic> map) {
return GetCallerIdentityResult(
accountId: (() { final guardedValue = map['accountId']; if (guardedValue == null) return null; return guardedValue as String; })(),
arn: (() { final guardedValue = map['arn']; if (guardedValue == null) return null; return guardedValue as String; })(),
id: (() { final guardedValue = map['id']; if (guardedValue == null) return null; return guardedValue as String; })(),
userId: (() { final guardedValue = map['userId']; if (guardedValue == null) return null; return guardedValue as String; })(),
);
}