GetIndexIndexStatistic.fromMap constructor

GetIndexIndexStatistic.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetIndexIndexStatistic.fromMap(Map<String, dynamic> map) {
  return GetIndexIndexStatistic(
    faqStatistics: pulumi.Input.fromValue(pulumi.Input.decodeList<GetIndexIndexStatisticFaqStatistic>(map['faqStatistics']!, (value) => GetIndexIndexStatisticFaqStatistic.fromMap((value as Map).cast<String, dynamic>()))),
    textDocumentStatistics: pulumi.Input.fromValue(pulumi.Input.decodeList<GetIndexIndexStatisticTextDocumentStatistic>(map['textDocumentStatistics']!, (value) => GetIndexIndexStatisticTextDocumentStatistic.fromMap((value as Map).cast<String, dynamic>()))),
  );
}