Como instalar o fleto
Just follow this link : https://flutter.dev/docs/get-started/install
And follow each and every step
The CS Guy
Just follow this link : https://flutter.dev/docs/get-started/install
And follow each and every step
import 'package:http/http.dart' as http;
var url = Uri.parse('https://jsonplaceholder.typicode.com/todos/1');
var response = await http.get(url);
Map data = jsonDecode(response.body);
print(data);
dependencies:
get: ^4.3.8