setHttpEnableTimelineLogging method Null safety

  1. @Deprecated('Use httpEnableTimelineLogging instead.')
Future<Success> setHttpEnableTimelineLogging(
  1. String isolateId,
  2. bool enable
)
@Deprecated('Use httpEnableTimelineLogging instead.')

Enables or disables HTTP logging for a given isolate.

Warning: The returned Future will not complete if the target isolate is paused and will only complete when the isolate is resumed.

Implementation

@Deprecated('Use httpEnableTimelineLogging instead.')
Future<Success> setHttpEnableTimelineLogging(String isolateId, bool enable) =>
    _callHelper('ext.dart.io.setHttpEnableTimelineLogging', isolateId, args: {
      'enable': enable,
    });