ChannelMin constructor Null safety

ChannelMin(
  1. {required String id,
  2. required String name,
  3. String? englishName,
  4. required ChannelType type,
  5. String? photo}
)

Returns a new ChannelMin instance.

Implementation

ChannelMin({
  required this.id,
  required this.name,
  this.englishName,
  required this.type,
  this.photo,
});