toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final accumulatorUpdates = this.accumulatorUpdates;
  final attempt = this.attempt;
  final durationMillis = this.durationMillis;
  final errorMessage = this.errorMessage;
  final executorId = this.executorId;
  final executorLogs = this.executorLogs;
  final gettingResultTimeMillis = this.gettingResultTimeMillis;
  final hasMetrics = this.hasMetrics;
  final host = this.host;
  final index = this.index;
  final launchTime = this.launchTime;
  final partitionId = this.partitionId;
  final resultFetchStart = this.resultFetchStart;
  final schedulerDelayMillis = this.schedulerDelayMillis;
  final speculative = this.speculative;
  final stageAttemptId = this.stageAttemptId;
  final stageId = this.stageId;
  final status = this.status;
  final taskId = this.taskId;
  final taskLocality = this.taskLocality;
  final taskMetrics = this.taskMetrics;
  return {
    'accumulatorUpdates': ?accumulatorUpdates,
    'attempt': ?attempt,
    'durationMillis': ?durationMillis,
    'errorMessage': ?errorMessage,
    'executorId': ?executorId,
    'executorLogs': ?executorLogs,
    'gettingResultTimeMillis': ?gettingResultTimeMillis,
    'hasMetrics': ?hasMetrics,
    'host': ?host,
    'index': ?index,
    'launchTime': ?launchTime,
    'partitionId': ?partitionId,
    'resultFetchStart': ?resultFetchStart,
    'schedulerDelayMillis': ?schedulerDelayMillis,
    'speculative': ?speculative,
    'stageAttemptId': ?stageAttemptId,
    'stageId': ?stageId,
    'status': ?status,
    'taskId': ?taskId,
    'taskLocality': ?taskLocality,
    'taskMetrics': ?taskMetrics,
  };
}