GroupChannelParams constructor Null safety
- {bool isUpdate = false}
Constructor for GroupChannelParams
Should set isUpdate
to false if creating new Group Channel (default is false
)
Should set isUpdate
to true if updating existing group channel
Implementation
GroupChannelParams({bool isUpdate = false}) {
if (!isUpdate) {
isSuper = false;
isBroadcast = false;
isPublic = false;
isDistinct = false;
isEphemeral = false;
isStrict = false;
isExclusive = false;
}
}