mirror of
https://github.com/flutter/packages.git
synced 2025-06-30 14:47:22 +08:00
update synced generated files to clean up prs (#3007)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.11), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
|
||||
import 'dart:async';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.11), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, unnecessary_import
|
||||
// ignore_for_file: avoid_relative_lib_imports
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
|
||||
package com.example.alternate_language_test_plugin;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
#import <Foundation/Foundation.h>
|
||||
@protocol FlutterBinaryMessenger;
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
#import "CoreTests.gen.h"
|
||||
#import <Flutter/Flutter.h>
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
|
||||
import 'dart:async';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.11), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
|
||||
import 'dart:async';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.11), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
|
||||
import 'dart:async';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.11), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
|
||||
import 'dart:async';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.11), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
|
||||
import 'dart:async';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.11), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
|
||||
import 'dart:async';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.11), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
|
||||
import 'dart:async';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
// ignore_for_file: public_member_api_docs, non_constant_identifier_names, avoid_as, unused_import, unnecessary_parenthesis, prefer_null_aware_operators, omit_local_variable_types, unused_shown_name, unnecessary_import
|
||||
import 'dart:async';
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
|
||||
package com.example.test_plugin
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
|
||||
import Foundation
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
|
||||
import Foundation
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
|
||||
#undef _HAS_EXCEPTIONS
|
||||
@ -576,7 +576,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -597,7 +597,8 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
const auto& args = std::get<flutter::EncodableList>(message);
|
||||
const auto& encodable_everything_arg = args.at(0);
|
||||
if (encodable_everything_arg.IsNull()) {
|
||||
reply(WrapError("everything_arg unexpectedly null."));
|
||||
reply(flutter::EncodableValue(
|
||||
WrapError("everything_arg unexpectedly null.")));
|
||||
return;
|
||||
}
|
||||
const auto& everything_arg = std::any_cast<const AllTypes&>(
|
||||
@ -613,7 +614,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -653,7 +654,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -680,7 +681,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -700,7 +701,8 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
const auto& args = std::get<flutter::EncodableList>(message);
|
||||
const auto& encodable_an_int_arg = args.at(0);
|
||||
if (encodable_an_int_arg.IsNull()) {
|
||||
reply(WrapError("an_int_arg unexpectedly null."));
|
||||
reply(flutter::EncodableValue(
|
||||
WrapError("an_int_arg unexpectedly null.")));
|
||||
return;
|
||||
}
|
||||
const int64_t an_int_arg = encodable_an_int_arg.LongValue();
|
||||
@ -714,7 +716,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -735,7 +737,8 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
const auto& args = std::get<flutter::EncodableList>(message);
|
||||
const auto& encodable_a_double_arg = args.at(0);
|
||||
if (encodable_a_double_arg.IsNull()) {
|
||||
reply(WrapError("a_double_arg unexpectedly null."));
|
||||
reply(flutter::EncodableValue(
|
||||
WrapError("a_double_arg unexpectedly null.")));
|
||||
return;
|
||||
}
|
||||
const auto& a_double_arg =
|
||||
@ -750,7 +753,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -770,7 +773,8 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
const auto& args = std::get<flutter::EncodableList>(message);
|
||||
const auto& encodable_a_bool_arg = args.at(0);
|
||||
if (encodable_a_bool_arg.IsNull()) {
|
||||
reply(WrapError("a_bool_arg unexpectedly null."));
|
||||
reply(flutter::EncodableValue(
|
||||
WrapError("a_bool_arg unexpectedly null.")));
|
||||
return;
|
||||
}
|
||||
const auto& a_bool_arg = std::get<bool>(encodable_a_bool_arg);
|
||||
@ -784,7 +788,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -805,7 +809,8 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
const auto& args = std::get<flutter::EncodableList>(message);
|
||||
const auto& encodable_a_string_arg = args.at(0);
|
||||
if (encodable_a_string_arg.IsNull()) {
|
||||
reply(WrapError("a_string_arg unexpectedly null."));
|
||||
reply(flutter::EncodableValue(
|
||||
WrapError("a_string_arg unexpectedly null.")));
|
||||
return;
|
||||
}
|
||||
const auto& a_string_arg =
|
||||
@ -820,7 +825,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -841,7 +846,8 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
const auto& args = std::get<flutter::EncodableList>(message);
|
||||
const auto& encodable_a_uint8_list_arg = args.at(0);
|
||||
if (encodable_a_uint8_list_arg.IsNull()) {
|
||||
reply(WrapError("a_uint8_list_arg unexpectedly null."));
|
||||
reply(flutter::EncodableValue(
|
||||
WrapError("a_uint8_list_arg unexpectedly null.")));
|
||||
return;
|
||||
}
|
||||
const auto& a_uint8_list_arg =
|
||||
@ -857,7 +863,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -878,7 +884,8 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
const auto& args = std::get<flutter::EncodableList>(message);
|
||||
const auto& encodable_wrapper_arg = args.at(0);
|
||||
if (encodable_wrapper_arg.IsNull()) {
|
||||
reply(WrapError("wrapper_arg unexpectedly null."));
|
||||
reply(flutter::EncodableValue(
|
||||
WrapError("wrapper_arg unexpectedly null.")));
|
||||
return;
|
||||
}
|
||||
const auto& wrapper_arg =
|
||||
@ -901,7 +908,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -934,7 +941,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -980,7 +987,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -1024,7 +1031,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -1062,7 +1069,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -1100,7 +1107,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -1138,7 +1145,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -1177,7 +1184,7 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
@ -1201,11 +1208,11 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} else {
|
||||
wrapped.push_back(flutter::EncodableValue());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@ -1227,7 +1234,8 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
const auto& args = std::get<flutter::EncodableList>(message);
|
||||
const auto& encodable_a_string_arg = args.at(0);
|
||||
if (encodable_a_string_arg.IsNull()) {
|
||||
reply(WrapError("a_string_arg unexpectedly null."));
|
||||
reply(flutter::EncodableValue(
|
||||
WrapError("a_string_arg unexpectedly null.")));
|
||||
return;
|
||||
}
|
||||
const auto& a_string_arg =
|
||||
@ -1241,11 +1249,11 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
wrapped.push_back(flutter::EncodableValue(
|
||||
std::move(output).TakeValue()));
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@ -1271,11 +1279,11 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} else {
|
||||
wrapped.push_back(flutter::EncodableValue());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@ -1297,7 +1305,8 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
const auto& args = std::get<flutter::EncodableList>(message);
|
||||
const auto& encodable_a_string_arg = args.at(0);
|
||||
if (encodable_a_string_arg.IsNull()) {
|
||||
reply(WrapError("a_string_arg unexpectedly null."));
|
||||
reply(flutter::EncodableValue(
|
||||
WrapError("a_string_arg unexpectedly null.")));
|
||||
return;
|
||||
}
|
||||
const auto& a_string_arg =
|
||||
@ -1311,11 +1320,11 @@ void HostIntegrationCoreApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
wrapped.push_back(flutter::EncodableValue(
|
||||
std::move(output).TakeValue()));
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@ -1500,7 +1509,7 @@ void HostTrivialApi::SetUp(flutter::BinaryMessenger* binary_messenger,
|
||||
} catch (const std::exception& exception) {
|
||||
wrapped = WrapError(exception.what());
|
||||
}
|
||||
reply(wrapped);
|
||||
reply(flutter::EncodableValue(std::move(wrapped)));
|
||||
});
|
||||
} else {
|
||||
channel->SetMessageHandler(nullptr);
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
//
|
||||
// Autogenerated from Pigeon (v4.2.12), do not edit directly.
|
||||
// Autogenerated from Pigeon (v4.2.15), do not edit directly.
|
||||
// See also: https://pub.dev/packages/pigeon
|
||||
|
||||
#ifndef PIGEON_CORE_TESTS_GEN_CORE_TESTS_PIGEONTEST_H_
|
||||
|
Reference in New Issue
Block a user