ZenServiceExtensions class

Service extensions for DevTools integration.

These extensions allow zenify_devtools_extension to query the running app for scope hierarchy, queries, mutations, offline queue, and system metrics.

Constructors

ZenServiceExtensions()

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Static Methods

buildMetrics() → Map<String, dynamic>
Build comprehensive metrics matching ZenifyMetrics.fromJson.
buildScopeHierarchy() → List<Map<String, dynamic>>
Build hierarchical scope tree starting from root scopes (including standalone ZenProvider root scopes).
dispatch(String method, Map<String, String> parameters) → Future<Map<String, dynamic>>
Core dispatcher returning structured JSON-encodable maps for each extension.
getQueryList() → List<Map<String, dynamic>>
Get list of all queries and stream queries with their metadata matching QueryCacheData.fromJson.
handleExtension(String method, Map<String, String> parameters) → Future<ServiceExtensionResponse>
Dispatches a DevTools service extension call and returns a JSON response.
queryToMap(ZenQuery query) → Map<String, dynamic>
Convert a typed ZenQuery to a JSON-serializable map matching QueryCacheData.fromJson in zenify_devtools_extension.
registerExtensions() → void
Register all Zenify service extensions.
scopeToMap(ZenScope scope) → Map<String, dynamic>
Convert a scope and its children to a map recursively matching ScopeData.fromJson.
streamQueryToMap(ZenStreamQuery query) → Map<String, dynamic>
Convert a ZenStreamQuery to a JSON-serializable map matching QueryCacheData.fromJson in zenify_devtools_extension.

Constants

extensionNames → const List<String>
All registered service extension method names.