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