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:

  • AlertsDwAlerts reports a runtime error from either half through one sink (Telegram today), with DwAlertContext carrying 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 contractDwCoreConst: 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

dartway_serverpod_core_shared
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.