Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:developer
  3. Service class
Service
description

Service classfinal

Access information about the service protocol and control the web serverthat provides access to the services provided by the Dart VM fordebugging and inspecting Dart programs.

Constructors

Service()

Properties

hashCodeint
The hash code for this object.
no setterinherited
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString()String
A string representation of this object.
inherited

Operators

operator ==(Objectother)bool
The equality operator.
inherited

Static Methods

controlWebServer({boolenable =false,bool?silenceOutput})Future<ServiceProtocolInfo>
Control the web server that the service protocol is accessed through.enable is used as a toggle to enable or disable the web serverservicing requests. IfsilenceOutput is provided and is true,the server will not output information to the console.
getInfo()Future<ServiceProtocolInfo>
Get information about the service protocol (version number andUri to access the service).
getIsolateId(Isolateisolate)String?
Returns aString token representing the ID ofisolate.
getIsolateID(Isolateisolate)String?
Returns aString token representing the ID ofisolate.
getObjectId(Objectobject)String?
Returns aString token representing the ID ofobject.
  1. Dart
  2. dart:developer
  3. Service class
dart:developer library

[8]ページ先頭

©2009-2025 Movatter.jp