doForeground method
Implementation
@override
Future<V2TimCallback> doForeground() async {
return V2TimCallback.fromJson(
formatJson(
await _channel.invokeMethod(
"doForeground",
buildOfflinePushParam(
{
"ability": Utils.getAbility(),
},
),
),
),
);
}