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