getFiles method

List<ReleasePackerFile> getFiles({
  1. String? platform,
})

Implementation

List<ReleasePackerFile> getFiles({String? platform}) {
  Iterable<ReleasePackerFile> where = files;
  if (platform != null) {
    where = where.where((e) => e.matchesPlatform(platform));
  }
  return where.toList();
}