QChatChannel constructor Null safety

QChatChannel(
  1. {required int channelId,
  2. required int serverId,
  3. QChatChannelMode? viewMode,
  4. QChatChannelSyncMode? syncMode,
  5. int? categoryId,
  6. String? topic,
  7. String? custom,
  8. String? name,
  9. QChatChannelType? type,
  10. int? createTime,
  11. int? reorderWeight,
  12. String? owner,
  13. int? updateTime,
  14. bool? valid}
)

Implementation

QChatChannel(
    {required this.channelId,
    required this.serverId,
    this.viewMode,
    this.syncMode,
    this.categoryId,
    this.topic,
    this.custom,
    this.name,
    this.type,
    this.createTime,
    this.reorderWeight,
    this.owner,
    this.updateTime,
    this.valid});