toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (currentTaskNumber != null) 'currentTaskNumber': currentTaskNumber!,
      if (nextTaskNumber != null) 'nextTaskNumber': nextTaskNumber!,
      if (result != null) 'result': result!,
    };