files property

  1. @override
FutureOr<Set<ReleaseFile>> get files
override

The ReleaseFiles of this bundle.

Implementation

@override
FutureOr<Set<ReleaseFile>> get files {
  if (_files != null) return UnmodifiableSetView(_files!);

  var files = _loadFiles();
  if (files is Set<ReleaseFile>) {
    return UnmodifiableSetView(_files = files);
  } else {
    return files.then((value) => UnmodifiableSetView(_files = value));
  }
}