OptionalasOptionalembedwhether to embed custom icons when writing styles, otherwise no style is written for custom icons
Optionalprettypretty print the json, if not asObject
Optionalwritewhether to output the default style. if the style of a layer is the default layer it is not written.
Optionalwritewhether to output the feature ID
Optionalwritewhether to include vcsStyle options
whether to write an object or a string