Future<int> publishCustomStream(String tag) async { int code = await _channel.invokeMethod('publishCustomStream', tag) ?? -1; return code; }