AudioContent class

语音消息

Constructors

AudioContent({required String audioName, required String audioPath, required String audioUrl, required List<int> audioBytes, List<int> decibels = const [], int duration = 0, int size = 0})

Properties

audioBytes List<int>
getter/setter pair
audioName String
getter/setter pair
audioPath String
getter/setter pair
audioUrl String
getter/setter pair
decibels List<int>
getter/setter pair
duration int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(String content) AudioContent