fileUploadLimit property
int
fileUploadLimit
File upload limit for channel in bytes.
Implementation
int get fileUploadLimit {
const megabyte = 1024 * 1024;
if (this.premiumTier == PremiumTier.tier2) {
return 50 * megabyte;
}
if (this.premiumTier == PremiumTier.tier3) {
return 100 * megabyte;
}
return 8 * megabyte;
}