dartway_serverpod_core_shared
The pure-Dart shared layer of the DartWay core — code that must behave identically on the server and in the Flutter app:
- Alerts —
DwAlertsreports a runtime error from either half through one sink (Telegram today), withDwAlertContextcarrying the app state around the failure: route, features, action, platform, user. Messages arrive MarkdownV2-safe, with the stack trimmed to its top frames. - The wire contract —
DwCoreConst: the API and column names the server and the client must spell identically, in one place instead of two.
Used by
dartway_serverpod_core_server
and
dartway_serverpod_core_flutter;
apps rarely depend on it directly — it arrives with either of those.
Part of the DartWay monorepo.
Libraries
- The pure-Dart layer shared by the DartWay server and the DartWay Flutter app: the wire contract both sides must agree on, and the alerts sink that reports runtime errors from either of them.