setAllReceiveMessageOpt method
Future<V2TimCallback>
setAllReceiveMessageOpt({
- required int opt,
- required int startHour,
- required int startMinute,
- required int startSecond,
- required int duration,
override
Implementation
@override
Future<V2TimCallback> setAllReceiveMessageOpt({
required int opt,
required int startHour,
required int startMinute,
required int startSecond,
required int duration,
}) async {
Map<String, dynamic> param = {
"opt": opt,
"startHour": startHour,
"startMinute": startMinute,
"startSecond": startSecond,
"duration": duration,
};
var resp = V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"setAllReceiveMessageOpt",
buildMessageMangerParam(
param,
),
),
),
);
log("setAllReceiveMessageOpt", param, resp.toLogString());
return resp;
}