concat method

  1. @override
bool concat(
  1. bool x,
  2. bool y
)
override

Method that must be implemented to combine two elements of the Semigroup.

Implementation

@override
bool concat(bool x, bool y) => x || y;