LogNetworkPlugin class

A plugin for the Devbar which add a tab to display network requests and responses.

Implemented types

Constructors

LogNetworkPlugin(DevbarState devbar)

Properties

devbar DevbarState
final
hashCode int
The hash code for this object.
no setterinherited
requests → ValueStream<List<NetworkRequest>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
dispose() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(int id, {String? apiName, Object? body, required String method, required String path, Map<String, String?>? parameters}) → void
response(int id, {dynamic body}) → void
responseError(int id, {int? code, String? reason, String? message}) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

init() LogNetworkPlugin Function(DevbarState)