Position class

The position object encapsulates information about the spatial position within the video where the watermark image will display.

Annotations
  • @JsonSerializable()

Constructors

Position({String type = 'corner', required String cornerPosition})
Position.fromJson(Map<String, dynamic> json)
factory

Properties

cornerPosition String
The corner of the player where the promoted item will appear. The item always appears in the upper right corner of the player.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The manner in which the promoted item is positioned in the video player.
final

Methods

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

Operators

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