LyricSrcEntity_c class
Constructors
-
LyricSrcEntity_c({HashMap<
String, dynamic> ? info, List<LyricSrcItemEntity_c> ? lrc}) -
LyricSrcEntity_c.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
info
↔ HashMap<
String, dynamic> -
歌词信息
getter/setter pair
- info_al → String?
-
专辑名称
no setter
- info_ar → String?
-
艺术家
no setter
- info_by → String?
-
LRC作者,指制作该LRC歌词的人
no setter
- info_offset → double?
-
针对整体歌词时间的偏移量,单位毫秒ms
no setter
- info_re → String?
-
创建此LRC文件的播放器或编辑器
no setter
- info_ti → String?
-
歌曲标题
no setter
- info_ve → String?
-
程序的版本
no setter
- isEmpty → bool
-
是否 信息info 和 歌词lrc 都为空
no setter
- isNotEmpty → bool
-
是否 信息info 和 歌词lrc 中至少一方非空
no setter
-
lrc
↔ List<
LyricSrcItemEntity_c> -
歌词内容
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{HashMap< String, dynamic> ? info, List<LyricSrcItemEntity_c> ? lrc}) → LyricSrcEntity_c -
getInfoItemWithString(
String key) → String? -
根据
key
查找对应的信息 -
getLrcItemByIndex(
int index) → LyricSrcItemEntity_c? -
根据
index
获取lrc单项 -
isSelectLrc(
int index, int selectIndex, {bool? isTr_original}) → bool -
判断
index
指向的歌词是否应当高亮显示 -
isSelectTranslate(
int index, int selectIndex) → bool -
判断
index
指向的歌词是否应当高亮显示 -
isSelectTranslate_original(
int index, int selectIndex, {bool? isTr_original}) → bool -
判断
index
指向的位置是否是应当高亮显示的翻译歌词原文 -
isTranslate(
int index, {bool? isTr_original}) → bool -
判断
index
指定的 lrc 是否为翻译歌词的译文 -
isTranslate_original(
int index) → bool -
判断
index
指定的 lrc 是否为翻译歌词的原文 -
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
s_createInfo(
) → HashMap< String, dynamic>