CompositionParamValue class

A parameter value used in custom video streaming layouts.

See Custom video layouts with VCS baseline composition

Annotations
  • @freezed

Constructors

CompositionParamValue.boolean({required bool value})
const
factory
CompositionParamValue.fromJson(dynamic json)
factory
CompositionParamValue.number({required double value})
const
factory
CompositionParamValue.string({required String value})
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value Object
no setterinherited

Methods

map<TResult extends Object?>({required TResult string(_CompositionStringParamValue value), required TResult number(_CompositionNumberParamValue value), required TResult boolean(_CompositionBooleanParamValue value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? string(_CompositionStringParamValue value)?, TResult? number(_CompositionNumberParamValue value)?, TResult? boolean(_CompositionBooleanParamValue value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult string(_CompositionStringParamValue value)?, TResult number(_CompositionNumberParamValue value)?, TResult boolean(_CompositionBooleanParamValue value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult string(String value)?, TResult number(double value)?, TResult boolean(bool value)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult string(String value), required TResult number(double value), required TResult boolean(bool value)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? string(String value)?, TResult? number(double value)?, TResult? boolean(bool value)?}) → TResult?
inherited

Operators

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