提交 b69a7a19 authored 作者: JarvanMo's avatar JarvanMo

format lib/src/models/flutter_register_model

上级 876a7223
......@@ -7,13 +7,18 @@ class RegisterModel {
///[appId] is not necessary.
///if [doOnIOS] is true ,fluwx will register WXApi on iOS.
///if [doOnAndroid] is true, fluwx will register WXApi on Android.
RegisterModel({this.appId, this.doOnIOS: true, this.doOnAndroid: true,this.enableMTA = false});
RegisterModel(
{this.appId,
this.doOnIOS: true,
this.doOnAndroid: true,
this.enableMTA = false});
Map toMap() {
return {"appId": appId,
return {
"appId": appId,
"iOS": doOnIOS,
"android": doOnAndroid,
"enableMTA":enableMTA
};
"enableMTA": enableMTA
};
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论