AwsIamAccessKeySessionContext.fromJson constructor

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

Implementation

factory AwsIamAccessKeySessionContext.fromJson(Map<String, dynamic> json) {
  return AwsIamAccessKeySessionContext(
    attributes: json['Attributes'] != null
        ? AwsIamAccessKeySessionContextAttributes.fromJson(
            json['Attributes'] as Map<String, dynamic>)
        : null,
    sessionIssuer: json['SessionIssuer'] != null
        ? AwsIamAccessKeySessionContextSessionIssuer.fromJson(
            json['SessionIssuer'] as Map<String, dynamic>)
        : null,
  );
}