Tag Archives: flutter error handling

Proper way to Handle Exceptions in Flutter

By | December 23, 2019

Today we will see how we can properly handle errors and exceptions in Flutter. Watch Video Tutorial For this example we will be doing a service call and handle exceptions related to that. We will create a sample service here [java] static const String url = ‘https://jsonplaceholder.typicode.com/users’; static Future<List<User>> getUsers() async { try { final response = await… Read More »