StoryblokClient<StoryContent> constructor

StoryblokClient<StoryContent>({
  1. required String accessToken,
  2. ContentVersion? version,
  3. bool useCacheInvalidation = true,
  4. required StoryContent storyContentBuilder(
    1. JSONMap
    ),
})

Implementation

StoryblokClient({
  required String accessToken,
  ContentVersion? version,
  bool useCacheInvalidation = true,
  required StoryContent Function(JSONMap) storyContentBuilder,
})  : _baseParameters = {
        "token": accessToken,
      },
      _version = version,
      _useCacheInvalidation = useCacheInvalidation,
      _storyContentBuilder = storyContentBuilder;