GoogleCastBrakeStatus class

Represents current status of a break, including IDs and timing information.

Constructors

GoogleCastBrakeStatus.new({String? breakClipId, String? breakId, Duration? currentBreakClipTime, Duration? currentBreakTime, Duration? whenSkippable})
Creates a new GoogleCastBrakeStatus instance.
GoogleCastBrakeStatus.fromJson(String source)
Creates a GoogleCastBrakeStatus from a JSON string.
factory
GoogleCastBrakeStatus.fromMap(Map<String, dynamic> map)
Creates a GoogleCastBrakeStatus from a map.
factory

Properties

breakClipId String?
ID of the current break clip.
final
breakId String?
ID of the current break.
final
currentBreakClipTime Duration?
Time in seconds elapsed after the current break clip starts. This member is only updated sporadically, so its value is often out of date. Use the getEstimatedBreakClipTime method to get an estimate of the real playback position.
final
currentBreakTime Duration?
Time in seconds elapsed after the current break starts. This member is only updated sporadically, so its value is often out of date. Use the getEstimatedBreakTime method to get an estimate of the real playback position.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
whenSkippable Duration?
The time in seconds when this break clip becomes skippable. If not defined, the current break clip is not skippable.
final

Methods

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

Operators

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