MethodChannelMidtransPlugin class

An implementation of MidtransPluginPlatform that uses method channels.

Inheritance

Constructors

MethodChannelMidtransPlugin()
Create instance of MethodChannelMidtransPlugin

Properties

hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

initialize(MidtransConfig config) Future<bool?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startPayment(MidtransPayload payload) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance MethodChannelMidtransPlugin
no setter

Static Methods

setMethodCallHandlers() → dynamic

Constants

channel → const MethodChannel
The method channel used to interact with the native platform.