Allows you to serialize object.
Map<String, dynamic> toJson() => { "sourceTypeLeft": sourceTypeLeft.value, "sourceTypeRight": sourceTypeRight.value, "status": status.value, }.clearNulls();