AI界面的开发
This commit is contained in:
13
lib/features/ai/data/models/session.dart
Normal file
13
lib/features/ai/data/models/session.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
class Session {
|
||||
final String sessId;
|
||||
final String title;
|
||||
|
||||
Session({required this.sessId, required this.title});
|
||||
|
||||
factory Session.fromJson(Map<String, dynamic> json) {
|
||||
return Session(
|
||||
sessId: json['sessId'],
|
||||
title: json['title'],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user