getSnapshot<Snapshot> method

Snapshot? getSnapshot<Snapshot>()

Implementation

Snapshot? getSnapshot<Snapshot>() => snapshot is Snapshot ? snapshot : null;