StoryblokClient<StoryContent> constructor
StoryblokClient<StoryContent> ({
- Region region = Region.eu,
- required String accessToken,
- ContentVersion? version,
- bool useCacheInvalidation = true,
- required StoryContent storyContentBuilder(
- JSONMap
Implementation
StoryblokClient({
Region region = Region.eu,
required String accessToken,
ContentVersion? version,
bool useCacheInvalidation = true,
required StoryContent Function(JSONMap) storyContentBuilder,
}) : _baseParameters = {
"token": accessToken,
},
_version = version,
_useCacheInvalidation = useCacheInvalidation,
_storyContentBuilder = storyContentBuilder,
_region = region;