Ban constructor
Ban({
- Channel? channel,
- required DateTime createdAt,
- UserObject? createdBy,
- DateTime? expires,
- String? reason,
- required bool shadow,
- UserObject? target,
Returns a new Ban instance.
Implementation
Ban({
this.channel,
required this.createdAt,
this.createdBy,
this.expires,
this.reason,
required this.shadow,
this.target,
});