getListNoNull method

List<T> getListNoNull()

获取非空列表,如果records为空则返回一个可增长的空列表

Implementation

List<T> getListNoNull() => records ??= List.empty(growable: true);