IdentifiableEntity constructor
IdentifiableEntity({})
Implementation
IdentifiableEntity(
{String? id,
required bool dirty,
this.name,
this.displayName,
this.shortName,
String? lastUpdated,
String? created,
this.code,
this.translations,
bool? skipDateUpdate})
: super(
id: id,
dirty: dirty,
created: created,
lastUpdated: lastUpdated,
skipDateUpdate: skipDateUpdate) {
if (this.translations != null) {
this.translations = translations is String
? jsonDecode(this.translations)
: this.translations;
}
}