call method

IsBookmarkedProvider call({
  1. required BookmarkKind kind,
  2. required String targetId,
})

Whether the current user has bookmarked the given target. Used by BookmarkButton to flip between filled and outlined glyph.

Copied from isBookmarked.

Implementation

IsBookmarkedProvider call({
  required BookmarkKind kind,
  required String targetId,
}) {
  return IsBookmarkedProvider(kind: kind, targetId: targetId);
}