subscribeMsg method
一次性订阅消息
Implementation
@override
Future<void> subscribeMsg({
required int scene,
required String templateId,
String? reserved,
}) {
assert(templateId.length <= 1024);
assert(reserved == null || reserved.length <= 1024);
return methodChannel.invokeMethod<void>(
'subscribeMsg',
<String, dynamic>{
'scene': scene,
'templateId': templateId,
if (reserved != null) 'reserved': reserved,
},
);
}