toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'backendService': ?backendService,
'headerAction': ?pulumi.Input.mapOptionalInputValue<URLMapPathMatcherDefaultRouteActionWeightedBackendServiceHeaderAction, Map<String, dynamic>>(headerAction, (value) => value.toMap()),
'weight': ?weight,
};
}