VideoMetadata class

Additional video metadata attached to inline or URI-based media.

Annotations
  • @JsonSerializable.new(includeIfNull: false, fieldRename: FieldRename.snake)

Constructors

VideoMetadata({String? startOffset, String? endOffset, double? fps, List<VideoMetadataContentLayer>? contentLayers})
Creates VideoMetadata for video preprocessing.
VideoMetadata.fromJson(Map<String, dynamic> json)
Creates VideoMetadata from a JSON map.
factory

Properties

contentLayers → List<VideoMetadataContentLayer>?
Optional content layers to extract from the video.
final
endOffset → String?
Optional end offset of the video (for example, '30s').
final
fps → double?
Optional frame rate of the video sent to the model in (0.0, 24.0].
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startOffset → String?
Optional start offset of the video (for example, '10.5s').
final

Methods

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

Operators

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