Initial commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
谢宇宁
2026-11-05 10:38:11 +07:00
co-authored by Claude Opus 5.5
commit 2d26ea8f90
1071 changed files with 100151 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
/// 粘贴版信息
class CutInfo {
// pc是邀请码promoteCode
String? pc;
/// dc是渠道 distinctCode
String? dc;
String? tid;
static CutInfo fromMap(Map<String, dynamic>? map) {
map ??= {};
return CutInfo()
..pc = map['pc']
..dc = map['dc']
..tid = map['tid'];
}
Map toJson() => {
"pc": pc,
"dc": dc,
"tid": tid,
}..removeWhere((key, value) => value == null || (value as String?)?.isEmpty == true);
}