AsyncSnapshot<T>.nothing constructor

const AsyncSnapshot<T>.nothing()

Creates an AsyncSnapshot in ConnectionState.none with null data and error.

Implementation

const AsyncSnapshot.nothing() : this._(ConnectionState.none, null, null, null);