Skip to content

AudioMedia

An audio recording.

Collected by AudioProbe for the MediaSamplingPackage.AUDIO measure.

Inheritance
Annotations

Constructors

AudioMedia.fromJson

AudioMedia.fromJson(
  1. Map<String, dynamic> json
)

AudioMedia

AudioMedia({
  1. required String filename,
  2. DateTime? startRecordingTime,
  3. DateTime? endRecordingTime,
})

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

jsonType

String get jsonType
override

Return the __type to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.