stopView method

void stopView(
  1. String key, [
  2. Map<String, Object?> attributes = const {}
])

Notifies that the View identified by key stops being presented to the user. You can also attach custom attributes, who's values must be supported by StandardMessageCodec.

The key passed here must match the key passed to startView.

Implementation

void stopView(String key, [Map<String, Object?> attributes = const {}]) {
  wrap('rum.stopView', logger, attributes, () {
    return _platform.stopView(key, attributes);
  });
}