FlutterWechat class

Constructors

FlutterWechat()

Properties

code ↔ String
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

SendAuthResp → Stream
read-only

Static Methods

login({String scope: "snsapi_userinfo", String state: "login" }) → Future<bool>
pay({String partnerId: "", String prepayId: "", String nonceStr: "", String timeStampe: "", String sign: "", String package: "", String appId: "" }) → Future<bool>
registerWechat(String wxId) → void
shareImage({String imgUrl: "", int type: 0 }) → Future<bool>
shareMusic({String imgUrl: "", int type: 0, String musicUrl: "", String title: "", String description: "", String musicDataUrl: "", String musicLowBandDataUrl: "", String musicLowBandUrl: "" }) → Future<bool>
shareText({String text: "", int type: 0 }) → Future<bool>
shareVideo({String imgUrl: "", int type: 0, String videoUrl: "", String title: "", String description: "", String videoLowBandUrl: "" }) → Future<bool>
shareWebPage({String webpageUrl: "", String title: "title", String description: "description", int type: 0, String imgUrl: "" }) → Future<bool>