JSON, aby wymienić trzepotanie
List<UserModel> users = (json.decode(response.body) as List)
.map((data) => UserModel.fromJson(data))
.toList();
Shadow
List<UserModel> users = (json.decode(response.body) as List)
.map((data) => UserModel.fromJson(data))
.toList();