toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "overallStatus": overallStatus.value,
      "pa": pa.value,
      "ca": ca.value,
      "aa": aa.value,
      "ta": ta.value,
      "bac": bac.value,
      "pace": pace.value,
    }.clearNulls();