updateModelSnapshot method

void updateModelSnapshot(
  1. Object? model
)

Updates the cached model string for ext.artisanal.getState.

Called internally by the program after each model update.

Implementation

void updateModelSnapshot(Object? model) {
  _lastModelString = model?.toString() ?? '<null>';
}