SnapshotMetadata({required bool isFromCache, required bool hasPendingWrites}) : _isFromCache = isFromCache, _hasPendingWrites = hasPendingWrites;