修复bug-可回退
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import 'package:maibu_satabot_v2/core/utils/json_safe.dart';
|
||||
|
||||
class Session {
|
||||
final String sessId;
|
||||
final String title;
|
||||
@@ -6,8 +8,8 @@ class Session {
|
||||
|
||||
factory Session.fromJson(Map<String, dynamic> json) {
|
||||
return Session(
|
||||
sessId: json['sessId'],
|
||||
title: json['title'],
|
||||
sessId: JsonSafe.asString(json['sessId']),
|
||||
title: JsonSafe.asString(json['title']),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user