LrcParser class
- Inheritance
-
- Object
- LyricParse
- LrcParser
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isMatch(
String mainLyric) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseRaw(
String mainLyric, {String? translationLyric}) → LyricModel -
解析主歌词,可选传入副歌词文本
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
extractLine(
String line) → LrcLine? -
extractTranslationMap(
String? translationLyric) → Map< int, String> -
findTranslation(
Map< int, String> translationMap, int ms, int tolerance) → String?