toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final accumulatorId = this.accumulatorId;
  final metricType = this.metricType;
  final name = this.name;
  return {
    'accumulatorId': ?accumulatorId,
    'metricType': ?metricType,
    'name': ?name,
  };
}