isPinned method
- BuildContext context
override
Whether this item must be displayed before the others.
Implementation
@override
bool isPinned(BuildContext context) => FavoriteLocationHelper().isFavorite(
context.read<LocalDatabase>(),
osmLocation,
);