toNullable method

  1. @override
Null toNullable()
override

Return value of type T when this Option is a Some, null otherwise.

Implementation

@override
Null toNullable() => null;