updateLocalStore method

Future<void> updateLocalStore(
  1. LocalStoreMgr localStore
)

Updates local store with message data

Implementation

Future<void> updateLocalStore(LocalStoreMgr localStore) async {
  __.in_('updateLocalStore');
  try {
    checkInitialized('BaseMessage');
    __.info('Default implementation - no store updates');
  } catch (e, stackTrace) {
    __.severe('Local store update failed', e, stackTrace);
    if (e is hujFrameworkException) {
      rethrow;
    }
    throw hujFrameworkException(
      message: 'Local store update failed',
      hujType: hujErrorType.framework,
      originalError: e,
    );
  } finally {
    __.out_('updateLocalStore');
  }
}