ServicesServiceExtensions enum
Service extension constants for the services library.
These constants will be used when registering service extensions in the framework, and they will also be used by tools and services that call these service extensions.
The String value for each of these extension names should be accessed by
calling the .name
property on the enum value.
Values
- profilePlatformChannels → const ServicesServiceExtensions
-
Name of service extension that, when called, will toggle whether statistics about the usage of Platform Channels will be printed out periodically to the console and Timeline events will show the time between sending and receiving a message (encoding and decoding time excluded).
See also:
- debugProfilePlatformChannels, which is the flag that this service extension exposes.
- ServicesBinding.initServiceExtensions, where the service extension is registered.
- evict → const ServicesServiceExtensions
-
Name of service extension that, when called, will evict an image from the rootBundle cache and cause the image cache to be cleared.
This is used by hot reload mode to clear out the cache of resources that have changed. This service extension should be called with a String value of the image path (e.g. foo.png).
See also:
- ServicesBinding.initServiceExtensions, where the service extension is registered.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ServicesServiceExtensions> - A constant List of the values in this enum, in order of their declaration.