getDataList method

List? getDataList()

Implementation

List<dynamic>? getDataList() {
  if(isEmpty) {
    return null;
  }
  var data = this['data']['response']['data'];
  if(data is! List<dynamic> || data == null) {
    return null;
  }
  return data;
}