MacosRunningAppInfo class final
A running application instance reported by macOS.
Constructors
- MacosRunningAppInfo({String? appName, String? bundleIdentifier, String? appPath, int? processIdentifier, required bool isActive})
-
const
-
MacosRunningAppInfo.fromMap(Map<
String, Object?> map) -
Decodes a running application returned by the macOS plugin.
factory
Properties
- appName → String?
-
The localized application name, when available.
final
- appPath → String?
-
The application bundle path reported by macOS, when available.
final
- bundleIdentifier → String?
-
The running application's bundle identifier, when available.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isActive → bool
-
Whether the application was active at the time of the query.
final
- processIdentifier → int?
-
The process identifier at the time of the query, when available.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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