K3Client class

An Api client of the Kingdee Cloud. It is a singleton.

Constructors

K3Client.getInstance()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
loginInfo LoginInfo?
Get the current logined information.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

login(LoginParam param) Future<LoginInfo>
Before using the other api, you need login firstly. This method will fetch cookies and save them to the instance of K3Client. When you use the other api, the cookies will send automaticallly.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
operate(RequestParam param) Future<Map<String, dynamic>>
This method is used to request the other insterface but login.
setDomain(String domain) K3Client
This method will configure the address of the request
toString() String
A string representation of this object.
inherited

Operators

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