InvocationView class

Constructors

InvocationView({int? durationMs, String? id, String? method, String? status, int? statusCode, String? time})
Returns a new InvocationView instance.

Properties

durationMs ↔ int?
how long it took
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
the invocation's handle
getter/setter pair
method ↔ String?
the HTTP method that triggered it
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ String?
how the run ended: ok, error or timeout
getter/setter pair
statusCode ↔ int?
Code is the status the function's OWN code answered with, which is not the status of the reply — a program can answer 500 through a healthy sandbox.
getter/setter pair
time ↔ String?
when it ran, RFC3339
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → InvocationView?
Returns a new InvocationView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<InvocationView>
mapFromJson(dynamic json) → Map<String, InvocationView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<InvocationView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.