maybeSpaceProvider top-level property

dynamic maybeSpaceProvider
final

Attempts to map a spaceId to the space, but could come back empty (null) rather than throw. keeps up to date with underlying client even if the space wasn’t found initially,

Implementation

final maybeSpaceProvider =
    AsyncNotifierProvider.family<AsyncMaybeSpaceNotifier, Space?, String>(
  () => AsyncMaybeSpaceNotifier(),
);