CdnConstants class

Constructors

CdnConstants()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

allowedExtensions → const List<String>
The allowed extensions for the CDN urls.
['webp', 'png', 'gif', 'jpg', 'jpeg']
allowedExtensionsForSickers → const List<String>
The allowed extensions for the stickers.
['png', 'json']
allowedSizes → const List<int>
The allowed sizes.
[16, 32, 48, 64, 80, 96, 128, 160, 240, 256, 320, 480, 512, 640, 1024, 1280, 1536, 2048, 3072, 4096]