loadMore method Null safety

void loadMore()

Implementation

void loadMore() async {
  try {
    final _list = await apiLoadData(isFirst: false);
    if (_list.isNotEmpty) {
      list.addAll(_list);
    }
  } catch (e, stack) {
    debugPrint('$e $stack');
  }
}