Skip to content

VideoMedia

A video recorded by the app.

Used for the MediaSamplingPackage.VIDEO measure.

Inheritance
Annotations

Constructors

VideoMedia.fromJson

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

VideoMedia

VideoMedia({
  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.