IndexIndexStatistic.fromMap constructor

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

Implementation

factory IndexIndexStatistic.fromMap(Map<String, dynamic> map) {
  return IndexIndexStatistic(
    faqStatistics: (() { final guardedValue = map['faqStatistics']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<IndexIndexStatisticFaqStatistic>(guardedValue, (value) => IndexIndexStatisticFaqStatistic.fromMap((value as Map).cast<String, dynamic>()))); })(),
    textDocumentStatistics: (() { final guardedValue = map['textDocumentStatistics']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<IndexIndexStatisticTextDocumentStatistic>(guardedValue, (value) => IndexIndexStatisticTextDocumentStatistic.fromMap((value as Map).cast<String, dynamic>()))); })(),
  );
}