提交 3e9ffabb authored 作者: JarvanMo's avatar JarvanMo

spell check

上级 3cd11b5f
...@@ -22,7 +22,7 @@ class WeChatShareTextModel { ...@@ -22,7 +22,7 @@ class WeChatShareTextModel {
class WeChatMiniProgramModel { class WeChatMiniProgramModel {
static const int MINI_PTOGRAM_TYPE_RELEASE = 0; static const int MINI_PROGRAM_TYPE_RELEASE = 0;
static const int MINI_PROGRAM_TYPE_TEST = 1; static const int MINI_PROGRAM_TYPE_TEST = 1;
static const int MINI_PROGRAM_TYPE_PREVIEW = 2; static const int MINI_PROGRAM_TYPE_PREVIEW = 2;
...@@ -51,7 +51,7 @@ class WeChatMiniProgramModel { ...@@ -51,7 +51,7 @@ class WeChatMiniProgramModel {
this.thumbnail, this.thumbnail,
String transaction}) String transaction})
: this.transaction = transaction ?? "miniProgram", : this.transaction = transaction ?? "miniProgram",
this.miniProgramType = miniProgramType??MINI_PTOGRAM_TYPE_RELEASE, this.miniProgramType = miniProgramType??MINI_PROGRAM_TYPE_RELEASE,
assert(webPageUrl != null && webPageUrl.isNotEmpty), assert(webPageUrl != null && webPageUrl.isNotEmpty),
assert(userName != null && userName.isNotEmpty) , assert(userName != null && userName.isNotEmpty) ,
assert(path != null && path.isNotEmpty ); assert(path != null && path.isNotEmpty );
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论