getFormat method
Returns the default number format or the number format for the specified measure.
Implementation
Future<dynamic> getFormat(String measureName) async {
WebViewController apiController = await controller.future;
String formatString = await apiController
.runJavascriptReturningResult("webdatarocks.getFormat('$measureName')");
dynamic format = jsonDecode(formatString);
return format;
}