currentProfile property

DebugProfile get currentProfile

Get current (active) profile

Implementation

DebugProfile get currentProfile {
  if (_profiles.isEmpty) {
    throw StateError('No profiles registered');
  }
  return _profiles[_currentProfileIndex];
}