Long running isolate to keep the heavy work off from UI thread.
final worker = Worker();
final result = await worker.compute(jsonDecode, jsonString);
You can use this package to decodeJson, parseJson, for base64Decoding and encoding and so on. this package will help you to achieve more smooth ui because it will handle all the heavy work in the background.