debugViewId property

String get debugViewId

The id of the active surface debug view in DebugViewRegistry, or none. Setting an unknown id throws an ArgumentError.

Implementation

String get debugViewId => debug.viewId;
set debugViewId (String id)

Implementation

set debugViewId(String id) {
  final entry = DebugViewRegistry.byId(id);
  if (entry == null) {
    throw ArgumentError.value(id, 'id', 'Not a registered debug view');
  }
  debug.view = entry.view;
}