unwrapOrNull method

T? unwrapOrNull()

If this is AsyncData, returns it's value. Otherwise returns null.

Implementation

T? unwrapOrNull() => null;