prependElement method

  1. @override
Option<A> prependElement(
  1. A a
)
override

Implementation

@override Option<A> prependElement(A a) => some(a).orElse(() => this);