decodeMethod method

Future decodeMethod(
  1. String data, {
  2. dynamic types,
})

Implementation

Future<dynamic> decodeMethod(String data, {dynamic types})=>types==null?_jsApi.jsPromise('window.utils.decodeMethod(`$data`)') : _jsApi.jsPromise('window.utils.decodeMethod(`$data`, ${jsonEncode(types)})');