toNonNull property

List get toNonNull

转化为非空数组,如果为空则返回[]

Implementation

List get toNonNull => this ?? [];