GuildScheduledEvent constructor

GuildScheduledEvent({
  1. required Snowflake id,
  2. required GuildChannel? channel,
  3. required GuildMember? creator,
  4. required String name,
  5. required String? description,
  6. required DateTime startTime,
  7. required DateTime? endTime,
  8. required ScheduledEventStatus status,
  9. required ScheduledEventEntityType entityType,
  10. required Snowflake? entityId,
  11. required String? image,
  12. required String? location,
})

Implementation

GuildScheduledEvent({
    required this.id,
    //required this.guild,
    required this.channel,
    required this.creator,
    required this.name,
    required this.description,
    required this.startTime,
    required this.endTime,
    required this.status,
    required this.entityType,
    required this.entityId,
    required this.image,
    required this.location,
});