AuthorizationConfig.fromJson constructor

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

Implementation

factory AuthorizationConfig.fromJson(Map<String, dynamic> json) {
  return AuthorizationConfig(
    authorizationType:
        (json['authorizationType'] as String).toAuthorizationType(),
    awsIamConfig: json['awsIamConfig'] != null
        ? AwsIamConfig.fromJson(json['awsIamConfig'] as Map<String, dynamic>)
        : null,
  );
}