decodeResponse static method
Decode response bytes to an OverMediaResponse
Implementation
static OverMediaResponse decodeResponse(Uint8List bytes) {
final json = utf8.decode(bytes);
final data = jsonDecode(json) as Map<String, dynamic>;
return OverMediaResponse(data);
}