Music
- Flutter
更新时间不可用
音乐资源的详细信息。
class Music {
const Music(
{this.songCode,
this.name,
this.singer,
this.poster,
this.releaseTime,
this.durationS,
this.type,
this.pitchType,
this.lyricCount,
this.lyricList,
this.climaxSegmentCount,
this.climaxSegmentList});
@JsonKey(name: 'songCode')
final int? songCode;
@JsonKey(name: 'name')
final String? name;
@JsonKey(name: 'singer')
final String? singer;
@JsonKey(name: 'poster')
final String? poster;
@JsonKey(name: 'releaseTime')
final String? releaseTime;
@JsonKey(name: 'durationS')
final int? durationS;
@JsonKey(name: 'type')
final int? type;
@JsonKey(name: 'pitchType')
final int? pitchType;
@JsonKey(name: 'lyricCount')
final int? lyricCount;
@JsonKey(name: 'lyricList')
final List<int>? lyricList;
@JsonKey(name: 'climaxSegmentCount')
final int? climaxSegmentCount;
@JsonKey(name: 'climaxSegmentList')
final List<ClimaxSegment>? climaxSegmentList;
factory Music.fromJson(Map<String, dynamic> json) => _$MusicFromJson(json);
Map<String, dynamic> toJson() => _$MusicToJson(this);
}属性
| 参数名 | 描述 |
|---|---|
songCode | |
name | |
singer | |
poster | |
releaseTime | |
type | |
pitchType | |
durationS | |
lyricList | |
climaxSegmentList | 音乐高潮片段列表,详见 ClimaxSegment。 |
lyricCount | |
climaxSegmentCount |