freezed_result library Null safety

Classes

Nothing
A class with no fields and no public constructor. Used with Result when success or failure has no value at all. The singleton instance is exposed as nothing.
Result<Success, Failure extends Object>
Represents the output of an action that can succeed or fail. Holds a value on success and an error on failure.

Constants

nothing → const Nothing
The global instance of Nothing, representing no value at all.
Nothing._()