@@ -40,7 +40,7 @@ class SortOption<T> {
|
||||
final int direction;
|
||||
|
||||
/// Sorting field Comparator required for offline sorting
|
||||
@JsonKey(ignore: true)
|
||||
@JsonKey(includeToJson: false, includeFromJson: false)
|
||||
final Comparator<T>? comparator;
|
||||
|
||||
/// Serialize model to json
|
||||
|
||||
@@ -52,7 +52,7 @@ class AttachmentFile {
|
||||
|
||||
/// Byte data for this file. Particularly useful if you want to manipulate
|
||||
/// its data or easily upload to somewhere else.
|
||||
@JsonKey(ignore: true)
|
||||
@JsonKey(includeToJson: false, includeFromJson: false)
|
||||
final Uint8List? bytes;
|
||||
|
||||
/// The file size in bytes.
|
||||
|
||||
Reference in New Issue
Block a user