Converts the Result into an Option containing the value, if any. Otherwise returns None if the result is an error.
Result
Option
None
@override Option<T> ok() => None<T>();