pathsBuilder<T, T2> method

Widget pathsBuilder<T, T2>(
  1. JsonPath first,
  2. JsonPath second,
  3. WidgetDualValueBuilder<T?, T2?> builder
)

Implementation

Widget pathsBuilder<T, T2>(JsonPath first, JsonPath second,
    WidgetDualValueBuilder<T?, T2?> builder) {
  return pathBuilder<T>(first, (context, firstValue) {
    return pathBuilder<T2>(second, (context, secondValue) {
      return builder(context, firstValue, secondValue);
    });
  });
}