doForeground method

  1. @override
Future<V2TimCallback> doForeground()
override

Implementation

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