foldRight<C> abstract method

  1. @override
C foldRight<C>(
  1. C b,
  2. C f(
    1. C acc,
    2. R b
    )
)
override

Return the result of f called with b and the value of Right. If this Either is Left, return b.

Implementation

@override
C foldRight<C>(C b, C Function(C acc, R b) f);