-
Notifications
You must be signed in to change notification settings - Fork 1
/
error.txt
25 lines (11 loc) · 862 Bytes
/
error.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Running Gradle task 'assembleRelease'...
lib/bloc/show_more_bloc.dart:49:95: Error: Unexpected token 'return'.
_listProducts=productBloc.doGetProductsList(root, id, depth, pageNumber).then((value) =>return value);
^^^^^^
lib/bloc/show_more_bloc.dart:49:80: Error: A value of type 'Future<List<Product>>' can't be assigned to a variable of type 'List<Product>'.
- 'Future' is from 'dart:async'.
- 'List' is from 'dart:core'.
- 'Product' is from 'package:magento_mobile/models/Product.dart' ('lib/models/Product.dart').
_listProducts=productBloc.doGetProductsList(root, id, depth, pageNumber).then((value) =>return value);
^
FAILURE: Build failed with an exception.