FlutterBinPlatform class abstract
The platform dispatch seam behind the public FlutterBin API.
A plain-Dart abstraction — the package no longer depends on Flutter or
plugin_platform_interface. Tests may replace instance with a fake.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBinaryFileMetadata(
String filePath) → Future< BinaryFileMetadata> -
Gets comprehensive metadata of a binary file.
See
FlutterBin.getBinaryFileMetadata. -
getBinaryFileVersion(
String filePath) → Future< String?> -
Gets the version of a binary file.
See
FlutterBin.getBinaryFileVersion. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ FlutterBinPlatform
-
The active implementation. Defaults to the pure-Dart FFI reader on
Windows, the Info.plist reader on macOS, and an implementation that throws
UnsupportedError on every other platform. Assignable so tests can
substitute a fake.
getter/setter pair