Event constructor
Event({
- String id = "",
- String name = "",
- String description = "",
- String imgUrl = "",
- String coverImgUrl = "",
- String ownerId = '',
- String ownerName = '',
- String ownerEmail = '',
- bool public = true,
- int createdTime = 0,
- int eventDate = 0,
- UsageReason reason = UsageReason.any,
- List<
String> ? genres, - double itemPercentageCoverage = 0.0,
- int distanceKm = 0,
- Price? paymentPrice,
- Price? coverPrice,
- EventType type = EventType.rehearsal,
- EventStatus status = EventStatus.draft,
- Place? place,
- Position? position,
- bool isFulfilled = false,
- List<
AppMediaItem> ? appMediaItems, - List<
InstrumentFulfillment> ? instrumentsFulfillment, - List<
CollectiveFulfillment> ? collectivesFulfillment, - List<
String> ? watchingProfiles, - List<
String> ? goingProfiles, - bool isOnline = false,
- String? url,
- bool isOutdoor = false,
- bool isTest = false,
- int guestsLimit = 0,
- bool isEdited = false,
- String slug = '',
- bool isRecurring = false,
- List<
int> recurringDays = const [], - String recurringTime = '',
- String roomId = '',
- String googleCalendarId = '',
Implementation
Event({
this.id = "",
this.name = "",
this.description = "",
this.imgUrl = "",
this.coverImgUrl = "",
this.ownerId = '',
this.ownerName = '',
this.ownerEmail = '',
this.public = true,
this.createdTime = 0,
this.eventDate = 0,
this.reason = UsageReason.any,
this.genres,
this.itemPercentageCoverage = 0.0,
this.distanceKm = 0,
this.paymentPrice,
this.coverPrice,
this.type = EventType.rehearsal,
this.status = EventStatus.draft,
this.place,
this.position,
this.isFulfilled = false,
this.appMediaItems,
this.instrumentsFulfillment,
this.collectivesFulfillment,
this.watchingProfiles,
this.goingProfiles,
this.isOnline = false,
this.url,
this.isOutdoor = false,
this.isTest = false,
this.guestsLimit = 0,
this.isEdited = false,
this.slug = '',
this.isRecurring = false,
this.recurringDays = const [],
this.recurringTime = '',
this.roomId = '',
this.googleCalendarId = '',
});