提交 0cd25608 authored 作者: JarvanMo's avatar JarvanMo

reformat code

上级 b30b1c8d
......@@ -102,8 +102,8 @@ Future<bool> shareToWeChat(WeChatShareBaseModel model) async {
Future<bool> sendWeChatAuth(
{String openId, @required String scope, String state}) async {
assert(scope != null && scope.trim().isNotEmpty);
return await _channel.invokeMethod(
"sendAuth", {"scope": scope, "state": state});
return await _channel
.invokeMethod("sendAuth", {"scope": scope, "state": state});
}
/// open mini-program
......
......@@ -53,8 +53,8 @@ class WeChatImage {
this.schema = ImageSchema.BINARY,
this.suffix = suffix;
Map toMap() => {"source": source, "schema": schema.index, "suffix": suffix ??
""};
Map toMap() =>
{"source": source, "schema": schema.index, "suffix": suffix ?? ""};
}
///Types of image, usually there are for types listed below.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论