getBlobFilename function

String getBlobFilename()

Gets the file name of blob files based on platform

File name doesn't contain directory paths.

Implementation

String getBlobFilename() {
  final currentAbi = ffi.Abi.current();

  if (!supported.containsKey(currentAbi)) {
    throw DerryError(
      type: ErrorCode.platformNotSupported,
      body: {'abi': currentAbi},
    );
  }

  return supported[currentAbi]!;
}