toDynamicList static method

List toDynamicList(
  1. List<ExtendedAssetEntity> list
)

具体的数据 顺序为 url > path > file

Implementation

static List<dynamic> toDynamicList(List<ExtendedAssetEntity> list) {
  List<dynamic> value = [];
  for (var element in list) {
    if (element.realValue != null) {
      value.add(element.realValue!);
    }
  }
  return value;
}