futureValueOrNull method

Future<T?> futureValueOrNull()

Implementation

Future<T?> futureValueOrNull() => (this is Future<T?>) ? this as Future<T?> : Future.value(this as T?);