toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'anthosClusters': ?pulumi.Input.mapOptionalInputValue<List<TargetAssociatedEntityAnthosCluster>, List<Map<String, dynamic>>>(anthosClusters, (value) => pulumi.Input.encodeList<TargetAssociatedEntityAnthosCluster, Map<String, dynamic>>(value, (value) => value.toMap())),
'entityId': entityId,
'gkeClusters': ?pulumi.Input.mapOptionalInputValue<List<TargetAssociatedEntityGkeCluster>, List<Map<String, dynamic>>>(gkeClusters, (value) => pulumi.Input.encodeList<TargetAssociatedEntityGkeCluster, Map<String, dynamic>>(value, (value) => value.toMap())),
};
}