updateAppState method

Future<void> updateAppState(
  1. HujBaseApp hujBaseApp
)

Updates App with message data

Implementation

Future<void> updateAppState(HujBaseApp hujBaseApp) async {
  __.in_('updatePresentation');
  try {
    checkInitialized('BaseMessage');
    __.info('Default implementation - no presentation updates');
  } catch (e, stackTrace) {
    __.severe('Presentation update failed', e, stackTrace);
    if (e is hujFrameworkException) {
      rethrow;
    }
    throw hujFrameworkException(
      message: 'Presentation update failed',
      hujType: hujErrorType.framework,
      originalError: e,
    );
  } finally {
    __.out_('updatePresentation');
  }
}