BatchGetResourceConfigResponse.fromJson constructor

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

Implementation

factory BatchGetResourceConfigResponse.fromJson(Map<String, dynamic> json) {
  return BatchGetResourceConfigResponse(
    baseConfigurationItems: (json['baseConfigurationItems'] as List?)
        ?.whereNotNull()
        .map((e) => BaseConfigurationItem.fromJson(e as Map<String, dynamic>))
        .toList(),
    unprocessedResourceKeys: (json['unprocessedResourceKeys'] as List?)
        ?.whereNotNull()
        .map((e) => ResourceKey.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}