OrganizationAggregationSource.fromJson constructor

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

Implementation

factory OrganizationAggregationSource.fromJson(Map<String, dynamic> json) {
  return OrganizationAggregationSource(
    roleArn: json['RoleArn'] as String,
    allAwsRegions: json['AllAwsRegions'] as bool?,
    awsRegions: (json['AwsRegions'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}