SenzuChapter class

Constructors

SenzuChapter({required int startMs, required String title, bool showOnProgressBar = true, bool isSkippable = false, int? skipToMs})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
isSkippable bool
true бол overlay дээр "Skip" товч харуулна.
final
label String?
UI дээр харуулах label — title хоосон бол null буцаана
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showOnProgressBar bool
Progress bar дээр заагч (marker) зурах эсэх. OP/ED-ийн эхлэл/төгсгөлийн хоёрдогч chapter-т false тохируулна.
final
skipToMs int?
Skip товч дарагдахад seek хийх цаг (ms). null бол дараагийн chapter-ийн startMs ашиглана.
final
startDuration Duration
no setter
startMs int
Chapter эхлэх цаг (milliseconds). int ашигласан нь Duration-с илүү хурдан hash/compare хийдэг.
final
title String
Progress bar tooltip болон panel дотор харуулах нэр. Хоосон string ("") байж болно — заагч зурах ч label харуулахгүй.
final

Methods

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

Operators

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

Static Methods

fromSkipRanges({required Duration opStart, required Duration opEnd, required Duration edStart, required Duration edEnd}) List<SenzuChapter>