getForm method
Implementation
Future<JotformForm> getForm(String formId) async {
return await http.get(getUrl("form/$formId", params: {})).then((value) {
Map<String, dynamic> body = jsonDecode(value.body);
if (body["limit-left"] is int) {
limitLeft = body["limit-left"];
}
return JotformFormMapper.fromMap(body["content"] as Map<String, dynamic>);
});
}