Advertisement
f_andreuzzi

ProblemSpot

Sep 8th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.24 KB | None | 0 0
  1. @override
  2. void initState() {
  3.   _fetchCompanies();
  4.   super.initState();
  5. }
  6.  
  7. void _fetchCompanies() {
  8.   findUser().then((location) {
  9.     Set<Company> companies = Set.from([Company.fake()]);
  10.     _companiesData.companies = companies;
  11.   });
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement