toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final chartType = this.chartType;
final comments = this.comments;
final createdAt = this.createdAt;
final dimensions = this.dimensions;
final displayName = this.displayName;
final environment = this.environment;
final filter = this.filter;
final fromTime = this.fromTime;
final lastModifiedAt = this.lastModifiedAt;
final lastViewedAt = this.lastViewedAt;
final limit = this.limit;
final metrics = this.metrics;
final name = this.name;
final offset = this.offset;
final organization = this.organization;
final properties = this.properties;
final sortByCols = this.sortByCols;
final sortOrder = this.sortOrder;
final tags = this.tags;
final timeUnit = this.timeUnit;
final toTime = this.toTime;
final topk = this.topk;
return {
'chartType': ?chartType,
'comments': ?comments,
'createdAt': ?createdAt,
'dimensions': ?dimensions,
'displayName': ?displayName,
'environment': ?environment,
'filter': ?filter,
'fromTime': ?fromTime,
'lastModifiedAt': ?lastModifiedAt,
'lastViewedAt': ?lastViewedAt,
'limit': ?limit,
'metrics': ?metrics,
'name': ?name,
'offset': ?offset,
'organization': ?organization,
'properties': ?properties,
'sortByCols': ?sortByCols,
'sortOrder': ?sortOrder,
'tags': ?tags,
'timeUnit': ?timeUnit,
'toTime': ?toTime,
'topk': ?topk,
};
}