toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "status": status.value,
      "elementType": elementType.value,
      "elementDiagnose": elementDiagnose.value,
      "elementTypeName": elementTypeName,
      "elementDiagnoseName": elementDiagnoseName,
    }.clearNulls();