ProjectDataObject class abstract

Base class for adding data to DataSource from the project itself. The data can be of the form raw text or json.

This class should not be directly used to add data as this is a abstract class. Instead its derivative classes should be used: TextObject, JsonObject

Implementers

Constructors

ProjectDataObject()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
minCliVersion String
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
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) JsonObject
static method to create and return JsonObject. It takes Map<String, dynamic> that represents data as an argument
fromText(String text) TextObject
static method to create and return TextObject. It takes String object that represent data as an argument.