Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled
33 lines
800 B
Dart
Executable File
33 lines
800 B
Dart
Executable File
// ... existing code ...
|
|
class KRAlreadySubscribe {
|
|
final int subscribeId;
|
|
final int userSubscribeId;
|
|
|
|
const KRAlreadySubscribe({
|
|
required this.subscribeId,
|
|
required this.userSubscribeId,
|
|
});
|
|
|
|
factory KRAlreadySubscribe.fromJson(Map<String, dynamic> json) {
|
|
return KRAlreadySubscribe(
|
|
subscribeId: json['subscribe_id'] ?? 0,
|
|
userSubscribeId: json['id'] ?? 0,
|
|
);
|
|
}
|
|
}
|
|
|
|
class KRAlreadySubscribeList {
|
|
final List<KRAlreadySubscribe> list;
|
|
|
|
KRAlreadySubscribeList({required this.list});
|
|
|
|
factory KRAlreadySubscribeList.fromJson(Map<String, dynamic> json) {
|
|
final List<dynamic> data = json['list'] ?? [];
|
|
return KRAlreadySubscribeList(
|
|
list: data.map((item) => KRAlreadySubscribe.fromJson(item)).toList(),
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
// ... existing code ... |