InstanceMediaConfiguration class

Annotations
  • @freezed

Constructors

InstanceMediaConfiguration({@JsonKey(name: 'image_size_limit') required int maxImageSize, @JsonKey(name: 'image_matrix_limit') required int maxImageMatrix, @JsonKey(name: 'video_size_limit') required int maxVideoSize, @JsonKey(name: 'video_frame_rate_limit') required int maxVideoRateLimit, @JsonKey(name: 'video_matrix_limit') required int maxVideoMatrix, required List<MimeType> supportedMimeTypes})
const
factory
InstanceMediaConfiguration.fromJson(Map<String, Object?> json)
factory

Properties

copyWith → $InstanceMediaConfigurationCopyWith<InstanceMediaConfiguration>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
maxImageMatrix int
The maximum number of pixels (width times height) for image uploads.
no setterinherited
maxImageSize int
The maximum size of any uploaded image, in bytes.
no setterinherited
maxVideoMatrix int
The maximum number of pixels (width times height) for video uploads.
no setterinherited
maxVideoRateLimit int
The maximum frame rate for any uploaded video.
no setterinherited
maxVideoSize int
The maximum size of any uploaded video, in bytes.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedMimeTypes List<MimeType>
Contains MIME types that can be uploaded.
no setterinherited

Methods

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

Operators

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