convertUtf8ToObject function

dynamic convertUtf8ToObject(
  1. dynamic body
)

Implementation

dynamic convertUtf8ToObject(dynamic body) {
  String responseBody = jsonEncode(body);
  Map<String,dynamic> convertBody = jsonDecode(responseBody);
  return convertBody;
}