Snapshot.empty constructor
Snapshot.empty({
- SnapshotDecoder? decoder,
Creates an empty snapshot with the specified decoder
When decoder
is null, the SnapshotDecoder.defaultDecoder will be used
Implementation
factory Snapshot.empty({SnapshotDecoder? decoder}) =>
Snapshot.fromJson(null, decoder: decoder);