toInfo static method

List<List<int>> toInfo(
  1. dynamic info
)

Implementation

static List<List<int>> toInfo(info) {
  final List<List<int>> res = [];
  for (final item in info['references']) {
    res.add([item["startRange"], item["endRange"]]);
  }
  return res;
}