Data Layer medium complexity Shared Component mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations

Description

Flutter Riverpod provider that loads the organization terminology map from the session bootstrap payload at login and persists it locally using Hive for offline access. Exposes reactive label resolution to all Flutter widgets that need org-specific strings.

Feature: Custom Terminology

mobile-terminology-store

Responsibilities

  • Load terminology map from session bootstrap payload at login
  • Persist terminology map to Hive for offline availability
  • Expose reactive label resolution via Riverpod StateNotifier
  • Invalidate and reload terminology map on org or role switch

Interfaces

loadFromBootstrap(bootstrapPayload)
getLabel(key)
getLabels(keys[])
persistLocally(terminologyMap)
loadFromLocalStorage()
clearLocalStorage()
invalidate()

Related Data Entities (1)

Data entities managed by this component