@override Map<String, dynamic> toJson() { var json = super.toJson(); json['entityType'] = entityType.toShortString(); return json; }