初始化项目

This commit is contained in:
wyf
2025-04-11 08:47:46 +08:00
parent e0e1055d65
commit 9396f18d09
199 changed files with 6516 additions and 216 deletions

27
lib/model/message.g.dart Normal file
View File

@@ -0,0 +1,27 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'message.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
MessageModel _$MessageModelFromJson(Map<String, dynamic> json) => MessageModel()
..title = json['title'] as String?
..did = json['did'] as String?
..userId = json['userId'] as String?
..userName = json['userName'] as String?
..createTime = json['createTime'] == null
? null
: DateTime.parse(json['createTime'] as String)
..type = (json['type'] as num?)?.toInt();
Map<String, dynamic> _$MessageModelToJson(MessageModel instance) =>
<String, dynamic>{
'title': instance.title,
'did': instance.did,
'userId': instance.userId,
'userName': instance.userName,
'createTime': instance.createTime?.toIso8601String(),
'type': instance.type,
};