getLocalVariables method

Future<VariablesResponseDto> getLocalVariables(
  1. String fileId
)

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);
}