ConfigurationAggregator.fromJson constructor
ConfigurationAggregator.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ConfigurationAggregator.fromJson(Map<String, dynamic> json) {
return ConfigurationAggregator(
accountAggregationSources: (json['AccountAggregationSources'] as List?)
?.whereNotNull()
.map((e) =>
AccountAggregationSource.fromJson(e as Map<String, dynamic>))
.toList(),
configurationAggregatorArn: json['ConfigurationAggregatorArn'] as String?,
configurationAggregatorName:
json['ConfigurationAggregatorName'] as String?,
createdBy: json['CreatedBy'] as String?,
creationTime: timeStampFromJson(json['CreationTime']),
lastUpdatedTime: timeStampFromJson(json['LastUpdatedTime']),
organizationAggregationSource:
json['OrganizationAggregationSource'] != null
? OrganizationAggregationSource.fromJson(
json['OrganizationAggregationSource'] as Map<String, dynamic>)
: null,
);
}