16 lines
366 B
Dart
16 lines
366 B
Dart
import 'package:maibu_satabot_v2/core/utils/json_safe.dart';
|
|
|
|
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: JsonSafe.asString(json['sessId']),
|
|
title: JsonSafe.asString(json['title']),
|
|
);
|
|
}
|
|
}
|