currentReleaseFile method

FutureOr<ReleaseFile?> currentReleaseFile(
  1. String filePath
)

Returns a ReleaseFile from currentFiles that matches filePath.

Implementation

FutureOr<ReleaseFile?> currentReleaseFile(String filePath) async {
  var files = await currentFiles;
  return files.firstWhereOrNull((e) => e.filePath == filePath);
}