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<
InstrumentFulfillment> ? instrumentsFulfillment, - List<
BandFulfillment> ? bandsFulfillment, - bool isOnline = false,
- bool isTest = false,
- int participantsLimit = 0,
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.instrumentsFulfillment,
this.bandsFulfillment,
this.isOnline = false,
this.isTest = false,
this.participantsLimit = 0
});