import 'dart:convert';
main() {
String jsonS = """{
"stream": {
"tv": [{
"name": "Tv",
"description": "Tv",
"url": "this is the url",
"image": "imagelink"
}]
}
}""";
var myMap = json.decode(jsonS);
var myName = myMap['stream']['tv'][0]['name'];
print('${myName}');
}