debugId property

  1. @visibleForTesting
String debugId

A unique ID for this object, used by the devtool to differentiate two ProviderContainer.

Should not be used.

Implementation

@visibleForTesting
String get debugId {
  String? id;
  assert(() {
    id = _debugId;
    return true;
  }(), '');

  return id!;
}