getFunctionsInstance function
Given an AppJSImp, return the Functions instance.
Implementation
Functions getFunctionsInstance(App app, [String? region]) {
functions_interop.FunctionsJsImpl jsObject = functions_interop.getFunctions(
app.jsObject,
region?.toJS,
);
return Functions.getInstance(jsObject);
}