RestrictionInfo constructor Null safety

RestrictionInfo(
  1. {String? description,
  2. int? endAt,
  3. int? startAt,
  4. RestrictionType type = RestrictionType.muted}
)

Implementation

RestrictionInfo({
  this.description,
  this.endAt,
  this.startAt,
  this.type = RestrictionType.muted,
});