MapstedFlutterPlatform class abstract
An abstract class that defines the platform interface for the Mapsted Flutter plugin.
This class serves as an abstraction layer for the Mapsted Flutter SDK, allowing
different platform-specific implementations (such as Android or iOS) to be used
interchangeably. It extends PlatformInterface to enforce platform interface
compliance and provides a mechanism for method invocation on the platform side.
The default implementation is provided by MethodChannelMapstedFlutter, which uses MethodChannel for communication between Flutter and native code.
To use this class, extend it and provide concrete implementations for the methods in your platform-specific code.
- Inheritance
-
- Object
- PlatformInterface
- MapstedFlutterPlatform
- Implementers
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
-
launchMapActivity(
) → Future< void> - Launches a map activity.
-
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 ↔ MapstedFlutterPlatform
-
The current instance of MapstedFlutterPlatform.
getter/setter pair