AudioInfo class abstract

Annotations
  • @freezed

Constructors

AudioInfo({@Default.new("") String id, @Default.new(0) int startTime, @Default.new(0) int consumeTime, @Default.new(0) int duration, @Default.new(0) int seekTime, @Default.new(0) int seqTime, @Default.new(0) int status, @Default.new('') String operatorId, @Default.new(false) bool playing, @Default.new("") String documentId, @Default.new("") String name, @Default.new("") String path, @Default.new("") String sessionId})
factory
AudioInfo.fromJson(Map<String, dynamic> json)
factory

Properties

consumeTime int
no setterinherited
copyWith → $AudioInfoCopyWith<AudioInfo>
Create a copy of AudioInfo with the given fields replaced by the non-null parameter values.
no setterinherited
documentId String
no setterinherited
duration int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
name String
no setterinherited
operatorId String
no setterinherited
path String
no setterinherited
playing bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seekTime int
no setterinherited
seqTime int
no setterinherited
sessionId String
no setterinherited
startTime int
no setterinherited
status int
no setterinherited

Methods

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

Operators

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