JsonObject class

JsonObject is used to add json data to DataSource which can be later used for referencing by Agent.

Example:

final apiVersion = {'Sample API v1': 'description and usage',
                    'Sample API v2': 'description and usage'};
final apiDocObject = ProjectDataObject.fromJson(apiVersion);
Inheritance

Constructors

JsonObject(Map<String, dynamic> json)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
json Map<String, dynamic>
data in the form of Map from the project that will be used by the agent as reference
final
minCliVersion String
no setteroverride
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
process() Future<Map<String, dynamic>>
Internal method used by dash_agent to convert the shared DataSource to json format that can be sent on the web
override
toString() String
A string representation of this object.
inherited

Operators

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