MethodChannelFpCore class
An implementation of FpCorePlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FpCorePlatform
- MethodChannelFpCore
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
-
getCurrentLocation(
) → Future< String?> -
Returns the last known device location as "latitude,longitude" or null.
override
-
getDeviceModel(
) → Future< String?> -
Returns the device model string (e.g. "Samsung Galaxy S24" / "iPhone 16 Pro").
override
-
getPlatformVersion(
) → Future< String?> -
Returns the host platform version string (e.g. Android SDK / iOS version).
override
-
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
Constants
- methodChannel → const MethodChannel
- The method channel used to interact with the native platform.