mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
show user follow time show top image title Signed-off-by: dom <githubaccount56556@proton.me>
26 lines
549 B
Dart
26 lines
549 B
Dart
import 'package:PiliPlus/utils/extension/iterable_ext.dart';
|
|
|
|
class RelationData {
|
|
int? mid;
|
|
int? attribute;
|
|
int? mtime;
|
|
List<int>? tag;
|
|
int? special;
|
|
|
|
RelationData({
|
|
this.mid,
|
|
this.attribute,
|
|
this.mtime,
|
|
this.tag,
|
|
this.special,
|
|
});
|
|
|
|
factory RelationData.fromJson(Map<String, dynamic> json) => RelationData(
|
|
mid: json['mid'] as int?,
|
|
attribute: json['attribute'] as int?,
|
|
mtime: json['mtime'] as int?,
|
|
tag: (json['tag'] as List<dynamic>?)?.fromCast(),
|
|
special: json['special'] as int?,
|
|
);
|
|
}
|