setBreakpointState method Null safety

Future<Breakpoint> setBreakpointState(
  1. String isolateId,
  2. String breakpointId,
  3. bool enable
)

The setBreakpointState RPC allows for breakpoints to be enabled or disabled, without requiring for the breakpoint to be completely removed.

If isolateId refers to an isolate which has exited, then the Collected Sentinel is returned.

The returned Breakpoint is the updated breakpoint with its new values.

See Breakpoint.

Implementation

Future<Breakpoint> setBreakpointState(
    String isolateId, String breakpointId, bool enable);