AppsListPlatform class abstract

An abstract class that defines the interface for the AppsList platform.

This class serves as a contract for all implementations of the AppsList platform. It provides two methods: one for launching an app and another for getting installed apps.

Inheritance
  • Object
  • PlatformInterface
  • AppsListPlatform
Implementers

Constructors

AppsListPlatform()
Constructs a AppsListPlatform.

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

getInstalledApps() Future<List<AppInfo>>
Fetches a list of all installed apps.
launchApp(String packageName, int serialNumber) Future<void>
Launches an app with the given package name and serial number.
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 AppsListPlatform
The default instance of AppsListPlatform to use.
getter/setter pair