getLocalVariables method
Retrieves the published local variables from the Figma file specified by
fileId
.
Implementation
Future<VariablesResponseDto> getLocalVariables(String fileId) async {
final json = await _getFigma('/files/$fileId/variables/local');
return VariablesResponseDto.fromJson(json);
}