export library
Classes
- AddFriendRequestModel
- AndroidBuildVersion
-
Version values of the current Android operating system build derived from
android.os.Build.VERSION. - AndroidDeviceInfo
-
Information derived from
android.os.Build. - AsciiCodec
- An AsciiCodec allows encoding strings as ASCII bytes and decoding ASCII bytes to strings.
- AsciiDecoder
- Converts ASCII bytes to string.
- AsciiEncoder
- Converts strings of only ASCII characters to bytes.
- Base64Codec
- A base64 encoder and decoder.
- Base64Decoder
- Decoder for base64 encoded data.
- Base64Encoder
- Base64 and base64url encoding converter.
- BaseDeviceInfo
- The base class for platform's device info.
- ByteConversionSink
- The ByteConversionSink provides an interface for converters to efficiently transmit byte data.
-
ChunkedConversionSink<
T> - A ChunkedConversionSink is used to transmit data more efficiently between two converters during chunked conversions.
- ClosableStringSink
-
A ClosableStringSink extends the StringSink interface by adding a
closemethod. -
Codec<
S, T> - A Codec encodes and (if supported) decodes data.
-
Converter<
S, T> - A Converter converts data from one representation into another.
- DeviceInfoPlugin
- Provides device and operating system information.
- DeviceInfoPlusLinuxPlugin
-
See
DeviceInfoPlatform - DeviceInfoPlusWindowsPlugin
-
The Windows implementation of
DeviceInfoPlatform. - Encoding
- Open-ended set of encodings.
- Flow
- A class to represent Flow events.
- HtmlEscape
- Converter which escapes characters with special meaning in HTML.
- HtmlEscapeMode
- HTML escape modes.
- IosDeviceInfo
-
Information derived from
UIDevice. - IosUtsname
-
Information derived from
utsname. See http://pubs.opengroup.org/onlinepubs/7908799/xsh/sysutsname.h.html for details. - JsonCodec
- A JsonCodec encodes JSON objects to strings and decodes strings to JSON objects.
- JsonDecoder
- This class parses JSON strings and builds the corresponding objects.
- JsonEncoder
- This class converts JSON objects to strings.
- JsonUtf8Encoder
- Encoder that encodes a single object as a UTF-8 encoded JSON string.
- Latin1Codec
- A Latin1Codec encodes strings to ISO Latin-1 (aka ISO-8859-1) bytes and decodes Latin-1 bytes to strings.
- Latin1Decoder
- This class converts Latin-1 bytes (lists of unsigned 8-bit integers) to a string.
- Latin1Encoder
- This class converts strings of only ISO Latin-1 characters to bytes.
- LineSplitter
- A StreamTransformer that splits a String into individual lines.
- LinuxDeviceInfo
- Device information for a Linux system.
- LoginRequestModel
- MacOsDeviceInfo
- Object encapsulating MACOS device information.
- NativeRuntime
- Functionality available on the native runtime.
- PackageInfo
- Application metadata. Provides application bundle information on iOS and application package information on Android.
- PackageInfoPlusLinuxPlugin
-
The Linux implementation of
PackageInfoPlatform. - PackageInfoPlusWindowsPlugin
-
The Windows implementation of
PackageInfoPlatform. - RegisterRequestModel
- Service
- Access information about the service protocol and control the web server that provides access to the services provided by the Dart VM for debugging and inspecting Dart programs.
- ServiceExtensionResponse
- A response to a service protocol extension RPC.
- ServiceProtocolInfo
- Service protocol is the protocol that a client like the Observatory could use to access the services provided by the Dart VM for debugging and inspecting Dart programs. This class encapsulates the version number and Uri for accessing this service.
- StringConversionSink
- A sink for converters to efficiently transmit String data.
- Timeline
- Add to the timeline.
- TimelineTask
- An asynchronous task on the timeline. An asynchronous task can have many (nested) synchronous operations. Synchronous operations can live longer than the current isolate event. To pass a TimelineTask to another isolate, you must first call pass to get the task id and then construct a new TimelineTask in the other isolate.
- UserTag
- A UserTag can be used to group samples in the DevTools CPU profiler.
- Utf8Codec
- A Utf8Codec encodes strings to utf-8 code units (bytes) and decodes UTF-8 code units to strings.
- Utf8Decoder
- This class converts UTF-8 code units (lists of unsigned 8-bit integers) to a string.
- Utf8Encoder
- This class converts strings to their UTF-8 code units (a list of unsigned 8-bit integers).
- WebBrowserInfo
-
Information derived from
navigator. - WindowsDeviceInfo
- Object encapsulating WINDOWS device information.
Enums
- BrowserName
- List of supported browsers
Constants
- ascii → const AsciiCodec
- An instance of the default implementation of the AsciiCodec.
- base64 → const Base64Codec
- A base64 encoder and decoder.
- base64Url → const Base64Codec
- A base64url encoder and decoder.
- htmlEscape → const HtmlEscape
-
A
Stringconverter that converts characters to HTML entities. - json → const JsonCodec
- An instance of the default implementation of the JsonCodec.
- latin1 → const Latin1Codec
- An instance of the default implementation of the Latin1Codec.
- unicodeBomCharacterRune → const int
-
The Unicode Byte Order Marker (BOM) character
U+FEFF. - unicodeReplacementCharacterRune → const int
-
The Unicode Replacement character
U+FFFD(�). - utf8 → const Utf8Codec
- An instance of the default implementation of the Utf8Codec.
Properties
- extensionStreamHasListener → bool
-
Whether the "Extension" stream currently has at least one listener.
no setter
- reachabilityBarrier → int
-
Current reachability barrier state.
no setter
Functions
-
base64Decode(
String source) → Uint8List - Decodes base64 or base64url encoded bytes.
-
base64Encode(
List< int> bytes) → String -
Encodes
bytesusing base64 encoding. -
base64UrlEncode(
List< int> bytes) → String -
Encodes
bytesusing base64url encoding. -
debugger(
{bool when = true, String? message}) → bool -
If
whenis true, stop the program as if a breakpoint were hit at the following statement. -
getCurrentTag(
) → UserTag - Returns the current UserTag for the isolate.
-
inspect(
Object? object) → Object? -
Send a reference to
objectto any attached debuggers. -
jsonDecode(
String source, {Object? reviver(Object? key, Object? value)?}) → dynamic - Parses the string and returns the resulting Json object.
-
jsonEncode(
Object? object, {Object? toEncodable(Object? nonEncodable)?}) → String -
Converts
objectto a JSON string. -
log(
String message, {DateTime? time, int? sequenceNumber, int level = 0, String name = '', Zone? zone, Object? error, StackTrace? stackTrace}) → void - Emit a log event, which can can viewed using the DevTools Logging view.
-
postEvent(
String eventKind, Map eventData, {String stream = 'Extension'}) → void -
Post an event of
eventKindwith payload ofeventDatato the "Extension" event stream. -
registerExtension(
String method, ServiceExtensionHandler handler) → void -
Register a ServiceExtensionHandler that will be invoked in this isolate
for
method. NOTE: Service protocol extensions must be registered in each isolate.
Typedefs
- ByteConversionSinkBase = ByteConversionSink
- This class provides a base-class for converters that need to accept byte inputs.
-
ServiceExtensionHandler
= Future<
ServiceExtensionResponse> Function(String method, Map<String, String> parameters) - A service protocol extension handler. Registered with registerExtension.
- StringConversionSinkBase = StringConversionSink
- This class provides a base-class for converters that need to accept String inputs.
- StringConversionSinkMixin = StringConversionSink
- This class provides a mixin for converters that need to accept String inputs.
- TimelineAsyncFunction = Future Function()
-
TimelineSyncFunction<
T> = T Function() - A typedef for the function argument to Timeline.timeSync.
Exceptions / Errors
- JsonCyclicError
- Reports that an object could not be stringified due to cyclic references.
- JsonUnsupportedObjectError
- Error thrown by JSON serialization if an object cannot be serialized.