AsyncSnapshot<T>.waiting constructor Null safety

const AsyncSnapshot<T>.waiting()

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

Implementation

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