AudioCompressionOptions class

Audio compression options

Constructors

AudioCompressionOptions({int quality = 80, String? outputFormat, bool keepMetadata = true, Map<String, dynamic>? customOptions, int? sampleRate, int? channels, String? audioCodec, int? bitrate})
const

Properties

audioCodec String?
final
bitrate int?
final
channels int?
final
customOptions Map<String, dynamic>?
final
hashCode int
The hash code for this object.
no setterinherited
keepMetadata bool
final
outputFormat String?
final
quality int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int?
final

Methods

copyWith({int? quality, String? outputFormat, bool? keepMetadata, Map<String, dynamic>? customOptions, int? sampleRate, int? channels, String? audioCodec, int? bitrate}) AudioCompressionOptions
Create a copy with updated values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert to Map
toString() String
A string representation of this object.
inherited

Operators

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