toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final externalExecutionId = this.externalExecutionId;
  final percentComplete = this.percentComplete;
  final summary = this.summary;
  return {
    if (externalExecutionId != null)
      'externalExecutionId': externalExecutionId,
    if (percentComplete != null) 'percentComplete': percentComplete,
    if (summary != null) 'summary': summary,
  };
}