isFavorite property
String
get
isFavorite
The favorite column.
in darwin: 1 is favorite, 0 is not favorite.
Implementation
String get isFavorite {
if (isAndroid || isOhos) {
return 'is_favorite';
} else if (isDarwin) {
return 'favorite';
} else {
throw UnsupportedError('Unsupported platform with isFavorite');
}
}