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