getFileStyles method
Retrieves all published styles from the Figma file specified by key
.
Implementation
Future<StylesResponse> getFileStyles(String key, [FigmaQuery? query]) async =>
_getFigma('/files/$key/styles', query)
.then((data) => StylesResponse.fromJson(data));