BatchGetAggregateResourceConfigResponse.fromJson constructor

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

Implementation

factory BatchGetAggregateResourceConfigResponse.fromJson(
    Map<String, dynamic> json) {
  return BatchGetAggregateResourceConfigResponse(
    baseConfigurationItems: (json['BaseConfigurationItems'] as List?)
        ?.whereNotNull()
        .map((e) => BaseConfigurationItem.fromJson(e as Map<String, dynamic>))
        .toList(),
    unprocessedResourceIdentifiers: (json['UnprocessedResourceIdentifiers']
            as List?)
        ?.whereNotNull()
        .map((e) =>
            AggregateResourceIdentifier.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}