MiniProgramGalleryPolicy class
Host-accepted limits for user-selected gallery photos.
- Annotations
Constructors
- MiniProgramGalleryPolicy({bool enabled = false, int maxImages = 9, int maxImageBytes = 20 * 1024 * 1024, int maxTotalBytes = 50 * 1024 * 1024})
-
const
Properties
- enabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxImageBytes → int
-
final
- maxImages → int
-
final
- maxTotalBytes → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
override