马良AI写作初始化仓库

This commit is contained in:
邓滨杰
2025-09-10 00:07:52 +08:00
parent 3c06bb1a03
commit 39c0f8840f
1309 changed files with 318528 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'user_credit.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
UserCredit _$UserCreditFromJson(Map<String, dynamic> json) => $checkedCreate(
'UserCredit',
json,
($checkedConvert) {
final val = UserCredit(
userId: $checkedConvert('userId', (v) => v as String),
credits: $checkedConvert('credits', (v) => (v as num).toInt()),
creditToUsdRate: $checkedConvert(
'creditToUsdRate', (v) => (v as num?)?.toDouble()),
);
return val;
},
);
Map<String, dynamic> _$UserCreditToJson(UserCredit instance) {
final val = <String, dynamic>{
'userId': instance.userId,
'credits': instance.credits,
};
void writeNotNull(String key, dynamic value) {
if (value != null) {
val[key] = value;
}
}
writeNotNull('creditToUsdRate', instance.creditToUsdRate);
return val;
}