1
0
mirror of https://github.com/h7x4/Jisho-Study-Tool.git synced 2024-12-23 06:17:29 +01:00
Jisho-Study-Tool/lib/models/storage/common.dart

23 lines
532 B
Dart
Raw Normal View History

2021-12-04 05:13:13 +01:00
// import 'package:objectbox/objectbox.dart';
// import 'package:unofficial_jisho_api/api.dart' as jisho;
// TODO: Rewrite for sembast
// @Entity()
// class ExampleSentencePiece {
// int id;
// String? lifted;
// String unlifted;
// ExampleSentencePiece({
// this.id = 0,
// required this.lifted,
// required this.unlifted,
// });
// ExampleSentencePiece.fromJishoObject(jisho.ExampleSentencePiece object)
// : id = 0,
// lifted = object.lifted,
// unlifted = object.unlifted;
// }