You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fluffychat/lib/pangea/models/pangea_text_tap.dart

20 lines
436 B
Dart

class PTextTapModel {
late int cursorOffset;
late String word;
late bool isHighLighted;
late int textAtOffSet;
PTextTapModel(
{required this.cursorOffset,
required this.isHighLighted,
required this.textAtOffSet,
required this.word});
toJson() {
return {
'cursorOffset': cursorOffset,
'word': word,
'isHighlighted': isHighLighted,
'textAtOffSet': textAtOffSet
};
}
}