diff --git a/lib/src/resource/registry.dart b/lib/src/resource/registry.dart index cbd2840fdc1..3ef47663f8c 100644 --- a/lib/src/resource/registry.dart +++ b/lib/src/resource/registry.dart @@ -25,6 +25,7 @@ import '../components/sensor/sensor.dart'; import '../components/servo/client.dart'; import '../components/servo/servo.dart'; import '../resource/base.dart'; +import '../services/discovery.dart'; import '../services/vision.dart'; /// {@category Viam SDK} @@ -69,6 +70,7 @@ class Registry { registerSubtype(ResourceRegistration(Sensor.subtype, (name, channel) => SensorClient(name, channel))); registerSubtype(ResourceRegistration(Servo.subtype, (name, channel) => ServoClient(name, channel))); registerSubtype(ResourceRegistration(VisionClient.subtype, (name, channel) => VisionClient(name, channel))); + registerSubtype(ResourceRegistration(DiscoveryClient.subtype, (name, channel) => DiscoveryClient(name, channel))); } /// The [Subtype] available in the SDK diff --git a/lib/src/robot/client.dart b/lib/src/robot/client.dart index 983b92e7db6..9506f9b55bb 100644 --- a/lib/src/robot/client.dart +++ b/lib/src/robot/client.dart @@ -5,6 +5,7 @@ import 'package:grpc/grpc_connection_interface.dart'; import 'package:logger/logger.dart'; import '../gen/common/v1/common.pb.dart'; +import '../gen/robot/v1/robot.pb.dart'; import '../gen/google/protobuf/struct.pb.dart'; import '../gen/robot/v1/robot.pbgrpc.dart' as rpb; import '../gen/stream/v1/stream.pbgrpc.dart'; @@ -349,4 +350,15 @@ class RobotClient { final response = await _client.discoverComponents(request); return response.discovery.map((d) => Discovery.fromProto(d)).toList(); } + + /// GetModelsFromModules returns the list of models supported in modules on the machine. + /// + /// ``` + /// var modelsFromModules = await machine.getModelsFromModules(); + /// ``` + Future> getModelsFromModules() async { + final request = rpb.GetModelsFromModulesRequest(); + final response = await _client.getModelsFromModules(request); + return response.models; + } } diff --git a/lib/src/services/discovery.dart b/lib/src/services/discovery.dart new file mode 100644 index 00000000000..3c53c8d4acd --- /dev/null +++ b/lib/src/services/discovery.dart @@ -0,0 +1,57 @@ +import 'package:grpc/grpc_connection_interface.dart'; + +import '../../protos/common/common.dart'; +import '../gen/common/v1/common.pb.dart'; +import '../../protos/service/discovery.dart'; +import '../gen/service/discovery/v1/discovery.pbgrpc.dart'; +import '../gen/app/v1/robot.pb.dart'; +import '../resource/base.dart'; +import '../robot/client.dart'; +import '../utils.dart'; + +/// {@category Services} +class DiscoveryClient extends Resource implements ResourceRPCClient { + static const Subtype subtype = Subtype(resourceNamespaceRDK, resourceTypeService, 'discovery'); + + @override + final String name; + + @override + ClientChannelBase channel; + + @override + DiscoveryServiceClient get client => DiscoveryServiceClient(channel); + + DiscoveryClient(this.name, this.channel); + + /// Returns a list of [ComponentConfig]s for all discovered viam resources connected to the viam-server machine. + /// + /// ``` + /// // Example: + /// var resources = await myDiscoveryService.discoverResources('myWebcam'); + /// ``` + Future> discoverResources(String discoveryName, {Map? extra}) async { + final request = DiscoverResourcesRequest(name: name, extra: extra?.toStruct()); + final response = await client.discoverResources(request); + return response.discoveries; + } + + @override + Future> doCommand(Map command) async { + final request = DoCommandRequest() + ..name = name + ..command = command.toStruct(); + final response = await client.doCommand(request); + return response.result.toMap(); + } + + /// Get the [ResourceName] for this [DiscoveryClient] with the given [name] + static ResourceName getResourceName(String name) { + return DiscoveryClient.subtype.getResourceName(name); + } + + /// Get the [DiscoveryClient] named [name] from the provided robot. + static DiscoveryClient fromRobot(RobotClient robot, String name) { + return robot.getResource(DiscoveryClient.getResourceName(name)); + } +} diff --git a/lib/viam_sdk.dart b/lib/viam_sdk.dart index 2bc954fe5a7..4c1caecb939 100644 --- a/lib/viam_sdk.dart +++ b/lib/viam_sdk.dart @@ -52,6 +52,7 @@ export 'src/robot/client.dart'; export 'src/rpc/dial.dart'; /// Services +export 'src/services/discovery.dart'; export 'src/services/vision.dart'; /// Misc diff --git a/test/unit_test/mocks/service_clients_mocks.dart b/test/unit_test/mocks/service_clients_mocks.dart index 495c42e7f29..eb43eba7dfe 100644 --- a/test/unit_test/mocks/service_clients_mocks.dart +++ b/test/unit_test/mocks/service_clients_mocks.dart @@ -9,6 +9,7 @@ import 'package:viam_sdk/src/gen/app/v1/robot.pbgrpc.dart' as app_robot; import 'package:viam_sdk/src/gen/provisioning/v1/provisioning.pbgrpc.dart'; import 'package:viam_sdk/src/gen/robot/v1/robot.pbgrpc.dart'; import 'package:viam_sdk/src/gen/service/vision/v1/vision.pbgrpc.dart'; +import 'package:viam_sdk/src/gen/service/discovery/v1/discovery.pbgrpc.dart'; @GenerateNiceMocks([ MockSpec(), @@ -21,5 +22,6 @@ import 'package:viam_sdk/src/gen/service/vision/v1/vision.pbgrpc.dart'; MockSpec(), MockSpec(), MockSpec(), + MockSpec(), ]) void main() {} diff --git a/test/unit_test/mocks/service_clients_mocks.mocks.dart b/test/unit_test/mocks/service_clients_mocks.mocks.dart index 06f7319a489..afc9816ad0d 100644 --- a/test/unit_test/mocks/service_clients_mocks.mocks.dart +++ b/test/unit_test/mocks/service_clients_mocks.mocks.dart @@ -1,4 +1,4 @@ -// Mocks generated by Mockito 5.4.4 from annotations +// Mocks generated by Mockito 5.4.5 from annotations // in viam_sdk/test/unit_test/mocks/service_clients_mocks.dart. // Do not manually edit this file. @@ -30,6 +30,10 @@ import 'package:viam_sdk/src/gen/provisioning/v1/provisioning.pbgrpc.dart' as _i16; import 'package:viam_sdk/src/gen/robot/v1/robot.pb.dart' as _i9; import 'package:viam_sdk/src/gen/robot/v1/robot.pbgrpc.dart' as _i8; +import 'package:viam_sdk/src/gen/service/discovery/v1/discovery.pb.dart' + as _i28; +import 'package:viam_sdk/src/gen/service/discovery/v1/discovery.pbgrpc.dart' + as _i27; import 'package:viam_sdk/src/gen/service/vision/v1/vision.pb.dart' as _i19; import 'package:viam_sdk/src/gen/service/vision/v1/vision.pbgrpc.dart' as _i18; @@ -41,6 +45,7 @@ import 'package:viam_sdk/src/gen/service/vision/v1/vision.pbgrpc.dart' as _i18; // ignore_for_file: deprecated_member_use_from_same_package // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member +// ignore_for_file: must_be_immutable // ignore_for_file: prefer_const_constructors // ignore_for_file: unnecessary_parenthesis // ignore_for_file: camel_case_types @@ -48,46 +53,26 @@ import 'package:viam_sdk/src/gen/service/vision/v1/vision.pbgrpc.dart' as _i18; class _FakeClientConnection_0 extends _i1.SmartFake implements _i2.ClientConnection { - _FakeClientConnection_0( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); + _FakeClientConnection_0(Object parent, Invocation parentInvocation) + : super(parent, parentInvocation); } class _FakeClientCall_1 extends _i1.SmartFake implements _i3.ClientCall { - _FakeClientCall_1( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); + _FakeClientCall_1(Object parent, Invocation parentInvocation) + : super(parent, parentInvocation); } class _FakeResponseFuture_2 extends _i1.SmartFake implements _i4.ResponseFuture { - _FakeResponseFuture_2( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); + _FakeResponseFuture_2(Object parent, Invocation parentInvocation) + : super(parent, parentInvocation); } class _FakeResponseStream_3 extends _i1.SmartFake implements _i4.ResponseStream { - _FakeResponseStream_3( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); + _FakeResponseStream_3(Object parent, Invocation parentInvocation) + : super(parent, parentInvocation); } /// A class which mocks [ClientChannelBase]. @@ -97,76 +82,63 @@ class MockClientChannelBase extends _i1.Mock implements _i5.ClientChannelBase { @override _i6.Stream<_i2.ConnectionState> get onConnectionStateChanged => (super.noSuchMethod( - Invocation.getter(#onConnectionStateChanged), - returnValue: _i6.Stream<_i2.ConnectionState>.empty(), - returnValueForMissingStub: _i6.Stream<_i2.ConnectionState>.empty(), - ) as _i6.Stream<_i2.ConnectionState>); - - @override - _i6.Future shutdown() => (super.noSuchMethod( - Invocation.method( - #shutdown, - [], - ), - returnValue: _i6.Future.value(), - returnValueForMissingStub: _i6.Future.value(), - ) as _i6.Future); - - @override - _i6.Future terminate() => (super.noSuchMethod( - Invocation.method( - #terminate, - [], - ), - returnValue: _i6.Future.value(), - returnValueForMissingStub: _i6.Future.value(), - ) as _i6.Future); - - @override - _i2.ClientConnection createConnection() => (super.noSuchMethod( - Invocation.method( - #createConnection, - [], - ), - returnValue: _FakeClientConnection_0( - this, - Invocation.method( - #createConnection, - [], - ), - ), - returnValueForMissingStub: _FakeClientConnection_0( - this, - Invocation.method( - #createConnection, - [], - ), - ), - ) as _i2.ClientConnection); - - @override - _i6.Future<_i2.ClientConnection> getConnection() => (super.noSuchMethod( - Invocation.method( - #getConnection, - [], - ), - returnValue: - _i6.Future<_i2.ClientConnection>.value(_FakeClientConnection_0( - this, - Invocation.method( - #getConnection, - [], - ), - )), - returnValueForMissingStub: - _i6.Future<_i2.ClientConnection>.value(_FakeClientConnection_0( - this, - Invocation.method( - #getConnection, - [], - ), - )), - ) as _i6.Future<_i2.ClientConnection>); + Invocation.getter(#onConnectionStateChanged), + returnValue: _i6.Stream<_i2.ConnectionState>.empty(), + returnValueForMissingStub: _i6.Stream<_i2.ConnectionState>.empty(), + ) + as _i6.Stream<_i2.ConnectionState>); + + @override + _i6.Future shutdown() => + (super.noSuchMethod( + Invocation.method(#shutdown, []), + returnValue: _i6.Future.value(), + returnValueForMissingStub: _i6.Future.value(), + ) + as _i6.Future); + + @override + _i6.Future terminate() => + (super.noSuchMethod( + Invocation.method(#terminate, []), + returnValue: _i6.Future.value(), + returnValueForMissingStub: _i6.Future.value(), + ) + as _i6.Future); + + @override + _i2.ClientConnection createConnection() => + (super.noSuchMethod( + Invocation.method(#createConnection, []), + returnValue: _FakeClientConnection_0( + this, + Invocation.method(#createConnection, []), + ), + returnValueForMissingStub: _FakeClientConnection_0( + this, + Invocation.method(#createConnection, []), + ), + ) + as _i2.ClientConnection); + + @override + _i6.Future<_i2.ClientConnection> getConnection() => + (super.noSuchMethod( + Invocation.method(#getConnection, []), + returnValue: _i6.Future<_i2.ClientConnection>.value( + _FakeClientConnection_0( + this, + Invocation.method(#getConnection, []), + ), + ), + returnValueForMissingStub: _i6.Future<_i2.ClientConnection>.value( + _FakeClientConnection_0( + this, + Invocation.method(#getConnection, []), + ), + ), + ) + as _i6.Future<_i2.ClientConnection>); @override _i3.ClientCall createCall( @@ -175,37 +147,17 @@ class MockClientChannelBase extends _i1.Mock implements _i5.ClientChannelBase { _i3.CallOptions? options, ) => (super.noSuchMethod( - Invocation.method( - #createCall, - [ - method, - requests, - options, - ], - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #createCall, - [ - method, - requests, - options, - ], - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #createCall, - [ - method, - requests, - options, - ], - ), - ), - ) as _i3.ClientCall); + Invocation.method(#createCall, [method, requests, options]), + returnValue: _FakeClientCall_1( + this, + Invocation.method(#createCall, [method, requests, options]), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method(#createCall, [method, requests, options]), + ), + ) + as _i3.ClientCall); } /// A class which mocks [RobotServiceClient]. @@ -219,29 +171,22 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getOperations, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.GetOperationsResponse>( - this, - Invocation.method( - #getOperations, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.GetOperationsResponse>( - this, - Invocation.method( - #getOperations, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.GetOperationsResponse>); + Invocation.method(#getOperations, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.GetOperationsResponse>( + this, + Invocation.method(#getOperations, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.GetOperationsResponse>( + this, + Invocation.method( + #getOperations, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.GetOperationsResponse>); @override _i4.ResponseFuture<_i9.GetSessionsResponse> getSessions( @@ -249,29 +194,22 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getSessions, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.GetSessionsResponse>( - this, - Invocation.method( - #getSessions, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.GetSessionsResponse>( - this, - Invocation.method( - #getSessions, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.GetSessionsResponse>); + Invocation.method(#getSessions, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.GetSessionsResponse>( + this, + Invocation.method(#getSessions, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.GetSessionsResponse>( + this, + Invocation.method( + #getSessions, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.GetSessionsResponse>); @override _i4.ResponseFuture<_i9.ResourceNamesResponse> resourceNames( @@ -279,29 +217,22 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #resourceNames, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.ResourceNamesResponse>( - this, - Invocation.method( - #resourceNames, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.ResourceNamesResponse>( - this, - Invocation.method( - #resourceNames, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.ResourceNamesResponse>); + Invocation.method(#resourceNames, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.ResourceNamesResponse>( + this, + Invocation.method(#resourceNames, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.ResourceNamesResponse>( + this, + Invocation.method( + #resourceNames, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.ResourceNamesResponse>); @override _i4.ResponseFuture<_i9.ResourceRPCSubtypesResponse> resourceRPCSubtypes( @@ -309,29 +240,30 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #resourceRPCSubtypes, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.ResourceRPCSubtypesResponse>( - this, - Invocation.method( - #resourceRPCSubtypes, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.ResourceRPCSubtypesResponse>( - this, - Invocation.method( - #resourceRPCSubtypes, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.ResourceRPCSubtypesResponse>); + Invocation.method( + #resourceRPCSubtypes, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i9.ResourceRPCSubtypesResponse>( + this, + Invocation.method( + #resourceRPCSubtypes, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.ResourceRPCSubtypesResponse>( + this, + Invocation.method( + #resourceRPCSubtypes, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.ResourceRPCSubtypesResponse>); @override _i4.ResponseFuture<_i9.CancelOperationResponse> cancelOperation( @@ -339,29 +271,26 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #cancelOperation, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.CancelOperationResponse>( - this, - Invocation.method( - #cancelOperation, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.CancelOperationResponse>( - this, - Invocation.method( - #cancelOperation, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.CancelOperationResponse>); + Invocation.method(#cancelOperation, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.CancelOperationResponse>( + this, + Invocation.method( + #cancelOperation, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.CancelOperationResponse>( + this, + Invocation.method( + #cancelOperation, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.CancelOperationResponse>); @override _i4.ResponseFuture<_i9.BlockForOperationResponse> blockForOperation( @@ -369,29 +298,62 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #blockForOperation, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.BlockForOperationResponse>( - this, - Invocation.method( - #blockForOperation, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.BlockForOperationResponse>( - this, - Invocation.method( - #blockForOperation, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.BlockForOperationResponse>); + Invocation.method( + #blockForOperation, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i9.BlockForOperationResponse>( + this, + Invocation.method( + #blockForOperation, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.BlockForOperationResponse>( + this, + Invocation.method( + #blockForOperation, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.BlockForOperationResponse>); + + @override + _i4.ResponseFuture<_i9.GetModelsFromModulesResponse> getModelsFromModules( + _i9.GetModelsFromModulesRequest? request, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method( + #getModelsFromModules, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i9.GetModelsFromModulesResponse>( + this, + Invocation.method( + #getModelsFromModules, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.GetModelsFromModulesResponse>( + this, + Invocation.method( + #getModelsFromModules, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.GetModelsFromModulesResponse>); @override _i4.ResponseFuture<_i9.DiscoverComponentsResponse> discoverComponents( @@ -399,29 +361,30 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #discoverComponents, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.DiscoverComponentsResponse>( - this, - Invocation.method( - #discoverComponents, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.DiscoverComponentsResponse>( - this, - Invocation.method( - #discoverComponents, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.DiscoverComponentsResponse>); + Invocation.method( + #discoverComponents, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i9.DiscoverComponentsResponse>( + this, + Invocation.method( + #discoverComponents, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.DiscoverComponentsResponse>( + this, + Invocation.method( + #discoverComponents, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.DiscoverComponentsResponse>); @override _i4.ResponseFuture<_i9.FrameSystemConfigResponse> frameSystemConfig( @@ -429,29 +392,30 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #frameSystemConfig, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.FrameSystemConfigResponse>( - this, - Invocation.method( - #frameSystemConfig, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.FrameSystemConfigResponse>( - this, - Invocation.method( - #frameSystemConfig, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.FrameSystemConfigResponse>); + Invocation.method( + #frameSystemConfig, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i9.FrameSystemConfigResponse>( + this, + Invocation.method( + #frameSystemConfig, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.FrameSystemConfigResponse>( + this, + Invocation.method( + #frameSystemConfig, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.FrameSystemConfigResponse>); @override _i4.ResponseFuture<_i9.TransformPoseResponse> transformPose( @@ -459,29 +423,22 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #transformPose, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.TransformPoseResponse>( - this, - Invocation.method( - #transformPose, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.TransformPoseResponse>( - this, - Invocation.method( - #transformPose, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.TransformPoseResponse>); + Invocation.method(#transformPose, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.TransformPoseResponse>( + this, + Invocation.method(#transformPose, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.TransformPoseResponse>( + this, + Invocation.method( + #transformPose, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.TransformPoseResponse>); @override _i4.ResponseFuture<_i9.TransformPCDResponse> transformPCD( @@ -489,29 +446,22 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #transformPCD, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.TransformPCDResponse>( - this, - Invocation.method( - #transformPCD, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.TransformPCDResponse>( - this, - Invocation.method( - #transformPCD, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.TransformPCDResponse>); + Invocation.method(#transformPCD, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.TransformPCDResponse>( + this, + Invocation.method(#transformPCD, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.TransformPCDResponse>( + this, + Invocation.method( + #transformPCD, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.TransformPCDResponse>); @override _i4.ResponseFuture<_i9.GetStatusResponse> getStatus( @@ -519,28 +469,18 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getStatus, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.GetStatusResponse>( - this, - Invocation.method( - #getStatus, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i9.GetStatusResponse>( - this, - Invocation.method( - #getStatus, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.GetStatusResponse>); + Invocation.method(#getStatus, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.GetStatusResponse>( + this, + Invocation.method(#getStatus, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.GetStatusResponse>( + this, + Invocation.method(#getStatus, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i9.GetStatusResponse>); @override _i4.ResponseStream<_i9.StreamStatusResponse> streamStatus( @@ -548,29 +488,22 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #streamStatus, - [request], - {#options: options}, - ), - returnValue: _FakeResponseStream_3<_i9.StreamStatusResponse>( - this, - Invocation.method( - #streamStatus, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseStream_3<_i9.StreamStatusResponse>( - this, - Invocation.method( - #streamStatus, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseStream<_i9.StreamStatusResponse>); + Invocation.method(#streamStatus, [request], {#options: options}), + returnValue: _FakeResponseStream_3<_i9.StreamStatusResponse>( + this, + Invocation.method(#streamStatus, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseStream_3<_i9.StreamStatusResponse>( + this, + Invocation.method( + #streamStatus, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream<_i9.StreamStatusResponse>); @override _i4.ResponseFuture<_i9.StopAllResponse> stopAll( @@ -578,28 +511,18 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #stopAll, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.StopAllResponse>( - this, - Invocation.method( - #stopAll, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i9.StopAllResponse>( - this, - Invocation.method( - #stopAll, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.StopAllResponse>); + Invocation.method(#stopAll, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.StopAllResponse>( + this, + Invocation.method(#stopAll, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.StopAllResponse>( + this, + Invocation.method(#stopAll, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i9.StopAllResponse>); @override _i4.ResponseFuture<_i9.StartSessionResponse> startSession( @@ -607,29 +530,22 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #startSession, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.StartSessionResponse>( - this, - Invocation.method( - #startSession, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.StartSessionResponse>( - this, - Invocation.method( - #startSession, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.StartSessionResponse>); + Invocation.method(#startSession, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.StartSessionResponse>( + this, + Invocation.method(#startSession, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.StartSessionResponse>( + this, + Invocation.method( + #startSession, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.StartSessionResponse>); @override _i4.ResponseFuture<_i9.SendSessionHeartbeatResponse> sendSessionHeartbeat( @@ -637,29 +553,31 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #sendSessionHeartbeat, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.SendSessionHeartbeatResponse>( - this, - Invocation.method( - #sendSessionHeartbeat, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.SendSessionHeartbeatResponse>( - this, - Invocation.method( - #sendSessionHeartbeat, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.SendSessionHeartbeatResponse>); + Invocation.method( + #sendSessionHeartbeat, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i9.SendSessionHeartbeatResponse>( + this, + Invocation.method( + #sendSessionHeartbeat, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.SendSessionHeartbeatResponse>( + this, + Invocation.method( + #sendSessionHeartbeat, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.SendSessionHeartbeatResponse>); @override _i4.ResponseFuture<_i9.LogResponse> log( @@ -667,28 +585,17 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #log, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.LogResponse>( - this, - Invocation.method( - #log, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i9.LogResponse>( - this, - Invocation.method( - #log, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.LogResponse>); + Invocation.method(#log, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.LogResponse>( + this, + Invocation.method(#log, [request], {#options: options}), + ), + returnValueForMissingStub: _FakeResponseFuture_2<_i9.LogResponse>( + this, + Invocation.method(#log, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i9.LogResponse>); @override _i4.ResponseFuture<_i9.GetCloudMetadataResponse> getCloudMetadata( @@ -696,29 +603,30 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getCloudMetadata, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.GetCloudMetadataResponse>( - this, - Invocation.method( - #getCloudMetadata, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.GetCloudMetadataResponse>( - this, - Invocation.method( - #getCloudMetadata, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.GetCloudMetadataResponse>); + Invocation.method( + #getCloudMetadata, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i9.GetCloudMetadataResponse>( + this, + Invocation.method( + #getCloudMetadata, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.GetCloudMetadataResponse>( + this, + Invocation.method( + #getCloudMetadata, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.GetCloudMetadataResponse>); @override _i4.ResponseFuture<_i9.RestartModuleResponse> restartModule( @@ -726,29 +634,22 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #restartModule, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.RestartModuleResponse>( - this, - Invocation.method( - #restartModule, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.RestartModuleResponse>( - this, - Invocation.method( - #restartModule, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.RestartModuleResponse>); + Invocation.method(#restartModule, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.RestartModuleResponse>( + this, + Invocation.method(#restartModule, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.RestartModuleResponse>( + this, + Invocation.method( + #restartModule, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.RestartModuleResponse>); @override _i4.ResponseFuture<_i9.ShutdownResponse> shutdown( @@ -756,28 +657,18 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #shutdown, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.ShutdownResponse>( - this, - Invocation.method( - #shutdown, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i9.ShutdownResponse>( - this, - Invocation.method( - #shutdown, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.ShutdownResponse>); + Invocation.method(#shutdown, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.ShutdownResponse>( + this, + Invocation.method(#shutdown, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.ShutdownResponse>( + this, + Invocation.method(#shutdown, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i9.ShutdownResponse>); @override _i4.ResponseFuture<_i9.GetMachineStatusResponse> getMachineStatus( @@ -785,29 +676,30 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getMachineStatus, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.GetMachineStatusResponse>( - this, - Invocation.method( - #getMachineStatus, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.GetMachineStatusResponse>( - this, - Invocation.method( - #getMachineStatus, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.GetMachineStatusResponse>); + Invocation.method( + #getMachineStatus, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i9.GetMachineStatusResponse>( + this, + Invocation.method( + #getMachineStatus, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.GetMachineStatusResponse>( + this, + Invocation.method( + #getMachineStatus, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.GetMachineStatusResponse>); @override _i4.ResponseFuture<_i9.GetVersionResponse> getVersion( @@ -815,29 +707,22 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getVersion, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i9.GetVersionResponse>( - this, - Invocation.method( - #getVersion, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i9.GetVersionResponse>( - this, - Invocation.method( - #getVersion, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i9.GetVersionResponse>); + Invocation.method(#getVersion, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i9.GetVersionResponse>( + this, + Invocation.method(#getVersion, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i9.GetVersionResponse>( + this, + Invocation.method( + #getVersion, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i9.GetVersionResponse>); @override _i3.ClientCall $createCall( @@ -846,37 +731,29 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i3.ClientCall); + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); @override _i4.ResponseFuture $createUnaryCall( @@ -885,37 +762,29 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture); + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); @override _i4.ResponseStream $createStreamingCall( @@ -924,37 +793,29 @@ class MockRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseStream); + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); } /// A class which mocks [RobotServiceClient]. @@ -968,28 +829,18 @@ class MockAppRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #config, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i11.ConfigResponse>( - this, - Invocation.method( - #config, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i11.ConfigResponse>( - this, - Invocation.method( - #config, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i11.ConfigResponse>); + Invocation.method(#config, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i11.ConfigResponse>( + this, + Invocation.method(#config, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i11.ConfigResponse>( + this, + Invocation.method(#config, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i11.ConfigResponse>); @override _i4.ResponseFuture<_i11.CertificateResponse> certificate( @@ -997,29 +848,22 @@ class MockAppRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #certificate, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i11.CertificateResponse>( - this, - Invocation.method( - #certificate, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i11.CertificateResponse>( - this, - Invocation.method( - #certificate, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i11.CertificateResponse>); + Invocation.method(#certificate, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i11.CertificateResponse>( + this, + Invocation.method(#certificate, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i11.CertificateResponse>( + this, + Invocation.method( + #certificate, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i11.CertificateResponse>); @override _i4.ResponseFuture<_i11.LogResponse> log( @@ -1027,28 +871,17 @@ class MockAppRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #log, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i11.LogResponse>( - this, - Invocation.method( - #log, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i11.LogResponse>( - this, - Invocation.method( - #log, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i11.LogResponse>); + Invocation.method(#log, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i11.LogResponse>( + this, + Invocation.method(#log, [request], {#options: options}), + ), + returnValueForMissingStub: _FakeResponseFuture_2<_i11.LogResponse>( + this, + Invocation.method(#log, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i11.LogResponse>); @override _i4.ResponseFuture<_i11.NeedsRestartResponse> needsRestart( @@ -1056,29 +889,22 @@ class MockAppRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #needsRestart, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i11.NeedsRestartResponse>( - this, - Invocation.method( - #needsRestart, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i11.NeedsRestartResponse>( - this, - Invocation.method( - #needsRestart, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i11.NeedsRestartResponse>); + Invocation.method(#needsRestart, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i11.NeedsRestartResponse>( + this, + Invocation.method(#needsRestart, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i11.NeedsRestartResponse>( + this, + Invocation.method( + #needsRestart, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i11.NeedsRestartResponse>); @override _i3.ClientCall $createCall( @@ -1087,37 +913,29 @@ class MockAppRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i3.ClientCall); + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); @override _i4.ResponseFuture $createUnaryCall( @@ -1126,37 +944,29 @@ class MockAppRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture); + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); @override _i4.ResponseStream $createStreamingCall( @@ -1165,37 +975,29 @@ class MockAppRobotServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseStream); + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); } /// A class which mocks [AppServiceClient]. @@ -1208,29 +1010,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getUserIDByEmail, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetUserIDByEmailResponse>( - this, - Invocation.method( - #getUserIDByEmail, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetUserIDByEmailResponse>( - this, - Invocation.method( - #getUserIDByEmail, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetUserIDByEmailResponse>); + Invocation.method( + #getUserIDByEmail, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.GetUserIDByEmailResponse>( + this, + Invocation.method( + #getUserIDByEmail, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetUserIDByEmailResponse>( + this, + Invocation.method( + #getUserIDByEmail, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetUserIDByEmailResponse>); @override _i4.ResponseFuture<_i13.CreateOrganizationResponse> createOrganization( @@ -1238,29 +1041,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createOrganization, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CreateOrganizationResponse>( - this, - Invocation.method( - #createOrganization, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CreateOrganizationResponse>( - this, - Invocation.method( - #createOrganization, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateOrganizationResponse>); + Invocation.method( + #createOrganization, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.CreateOrganizationResponse>( + this, + Invocation.method( + #createOrganization, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CreateOrganizationResponse>( + this, + Invocation.method( + #createOrganization, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CreateOrganizationResponse>); @override _i4.ResponseFuture<_i13.ListOrganizationsResponse> listOrganizations( @@ -1268,44 +1072,46 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listOrganizations, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListOrganizationsResponse>( - this, - Invocation.method( - #listOrganizations, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ListOrganizationsResponse>( - this, - Invocation.method( - #listOrganizations, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListOrganizationsResponse>); + Invocation.method( + #listOrganizations, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.ListOrganizationsResponse>( + this, + Invocation.method( + #listOrganizations, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListOrganizationsResponse>( + this, + Invocation.method( + #listOrganizations, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListOrganizationsResponse>); @override _i4.ResponseFuture<_i13.GetOrganizationsWithAccessToLocationResponse> - getOrganizationsWithAccessToLocation( + getOrganizationsWithAccessToLocation( _i13.GetOrganizationsWithAccessToLocationRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #getOrganizationsWithAccessToLocation, [request], {#options: options}, ), returnValue: _FakeResponseFuture_2< - _i13.GetOrganizationsWithAccessToLocationResponse>( + _i13.GetOrganizationsWithAccessToLocationResponse + >( this, Invocation.method( #getOrganizationsWithAccessToLocation, @@ -1314,7 +1120,8 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), ), returnValueForMissingStub: _FakeResponseFuture_2< - _i13.GetOrganizationsWithAccessToLocationResponse>( + _i13.GetOrganizationsWithAccessToLocationResponse + >( this, Invocation.method( #getOrganizationsWithAccessToLocation, @@ -1322,16 +1129,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { {#options: options}, ), ), - ) as _i4.ResponseFuture< - _i13.GetOrganizationsWithAccessToLocationResponse>); + ) + as _i4.ResponseFuture< + _i13.GetOrganizationsWithAccessToLocationResponse + >); @override _i4.ResponseFuture<_i13.ListOrganizationsByUserResponse> - listOrganizationsByUser( + listOrganizationsByUser( _i13.ListOrganizationsByUserRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #listOrganizationsByUser, [request], @@ -1339,23 +1148,56 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), returnValue: _FakeResponseFuture_2<_i13.ListOrganizationsByUserResponse>( - this, - Invocation.method( - #listOrganizationsByUser, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #listOrganizationsByUser, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i13.ListOrganizationsByUserResponse>( - this, - Invocation.method( - #listOrganizationsByUser, - [request], - {#options: options}, - ), + this, + Invocation.method( + #listOrganizationsByUser, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListOrganizationsByUserResponse>); + + @override + _i4.ResponseFuture<_i13.SearchOrganizationsResponse> searchOrganizations( + _i13.SearchOrganizationsRequest? request, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method( + #searchOrganizations, + [request], + {#options: options}, ), - ) as _i4.ResponseFuture<_i13.ListOrganizationsByUserResponse>); + returnValue: + _FakeResponseFuture_2<_i13.SearchOrganizationsResponse>( + this, + Invocation.method( + #searchOrganizations, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.SearchOrganizationsResponse>( + this, + Invocation.method( + #searchOrganizations, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.SearchOrganizationsResponse>); @override _i4.ResponseFuture<_i13.GetOrganizationResponse> getOrganization( @@ -1363,44 +1205,42 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getOrganization, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetOrganizationResponse>( - this, - Invocation.method( - #getOrganization, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetOrganizationResponse>( - this, - Invocation.method( - #getOrganization, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetOrganizationResponse>); + Invocation.method(#getOrganization, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.GetOrganizationResponse>( + this, + Invocation.method( + #getOrganization, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetOrganizationResponse>( + this, + Invocation.method( + #getOrganization, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetOrganizationResponse>); @override _i4.ResponseFuture<_i13.GetOrganizationNamespaceAvailabilityResponse> - getOrganizationNamespaceAvailability( + getOrganizationNamespaceAvailability( _i13.GetOrganizationNamespaceAvailabilityRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #getOrganizationNamespaceAvailability, [request], {#options: options}, ), returnValue: _FakeResponseFuture_2< - _i13.GetOrganizationNamespaceAvailabilityResponse>( + _i13.GetOrganizationNamespaceAvailabilityResponse + >( this, Invocation.method( #getOrganizationNamespaceAvailability, @@ -1409,7 +1249,8 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), ), returnValueForMissingStub: _FakeResponseFuture_2< - _i13.GetOrganizationNamespaceAvailabilityResponse>( + _i13.GetOrganizationNamespaceAvailabilityResponse + >( this, Invocation.method( #getOrganizationNamespaceAvailability, @@ -1417,8 +1258,10 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { {#options: options}, ), ), - ) as _i4.ResponseFuture< - _i13.GetOrganizationNamespaceAvailabilityResponse>); + ) + as _i4.ResponseFuture< + _i13.GetOrganizationNamespaceAvailabilityResponse + >); @override _i4.ResponseFuture<_i13.UpdateOrganizationResponse> updateOrganization( @@ -1426,29 +1269,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #updateOrganization, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UpdateOrganizationResponse>( - this, - Invocation.method( - #updateOrganization, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UpdateOrganizationResponse>( - this, - Invocation.method( - #updateOrganization, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UpdateOrganizationResponse>); + Invocation.method( + #updateOrganization, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.UpdateOrganizationResponse>( + this, + Invocation.method( + #updateOrganization, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UpdateOrganizationResponse>( + this, + Invocation.method( + #updateOrganization, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UpdateOrganizationResponse>); @override _i4.ResponseFuture<_i13.DeleteOrganizationResponse> deleteOrganization( @@ -1456,37 +1300,38 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteOrganization, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteOrganizationResponse>( - this, - Invocation.method( - #deleteOrganization, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteOrganizationResponse>( - this, - Invocation.method( - #deleteOrganization, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteOrganizationResponse>); + Invocation.method( + #deleteOrganization, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.DeleteOrganizationResponse>( + this, + Invocation.method( + #deleteOrganization, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteOrganizationResponse>( + this, + Invocation.method( + #deleteOrganization, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteOrganizationResponse>); @override _i4.ResponseFuture<_i13.ListOrganizationMembersResponse> - listOrganizationMembers( + listOrganizationMembers( _i13.ListOrganizationMembersRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #listOrganizationMembers, [request], @@ -1494,31 +1339,32 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), returnValue: _FakeResponseFuture_2<_i13.ListOrganizationMembersResponse>( - this, - Invocation.method( - #listOrganizationMembers, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #listOrganizationMembers, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i13.ListOrganizationMembersResponse>( - this, - Invocation.method( - #listOrganizationMembers, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListOrganizationMembersResponse>); + this, + Invocation.method( + #listOrganizationMembers, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListOrganizationMembersResponse>); @override _i4.ResponseFuture<_i13.CreateOrganizationInviteResponse> - createOrganizationInvite( + createOrganizationInvite( _i13.CreateOrganizationInviteRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #createOrganizationInvite, [request], @@ -1526,38 +1372,40 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), returnValue: _FakeResponseFuture_2<_i13.CreateOrganizationInviteResponse>( - this, - Invocation.method( - #createOrganizationInvite, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #createOrganizationInvite, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i13.CreateOrganizationInviteResponse>( - this, - Invocation.method( - #createOrganizationInvite, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateOrganizationInviteResponse>); + this, + Invocation.method( + #createOrganizationInvite, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CreateOrganizationInviteResponse>); @override _i4.ResponseFuture<_i13.UpdateOrganizationInviteAuthorizationsResponse> - updateOrganizationInviteAuthorizations( + updateOrganizationInviteAuthorizations( _i13.UpdateOrganizationInviteAuthorizationsRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #updateOrganizationInviteAuthorizations, [request], {#options: options}, ), returnValue: _FakeResponseFuture_2< - _i13.UpdateOrganizationInviteAuthorizationsResponse>( + _i13.UpdateOrganizationInviteAuthorizationsResponse + >( this, Invocation.method( #updateOrganizationInviteAuthorizations, @@ -1566,7 +1414,8 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), ), returnValueForMissingStub: _FakeResponseFuture_2< - _i13.UpdateOrganizationInviteAuthorizationsResponse>( + _i13.UpdateOrganizationInviteAuthorizationsResponse + >( this, Invocation.method( #updateOrganizationInviteAuthorizations, @@ -1574,16 +1423,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { {#options: options}, ), ), - ) as _i4.ResponseFuture< - _i13.UpdateOrganizationInviteAuthorizationsResponse>); + ) + as _i4.ResponseFuture< + _i13.UpdateOrganizationInviteAuthorizationsResponse + >); @override _i4.ResponseFuture<_i13.DeleteOrganizationMemberResponse> - deleteOrganizationMember( + deleteOrganizationMember( _i13.DeleteOrganizationMemberRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #deleteOrganizationMember, [request], @@ -1591,31 +1442,32 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), returnValue: _FakeResponseFuture_2<_i13.DeleteOrganizationMemberResponse>( - this, - Invocation.method( - #deleteOrganizationMember, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #deleteOrganizationMember, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i13.DeleteOrganizationMemberResponse>( - this, - Invocation.method( - #deleteOrganizationMember, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteOrganizationMemberResponse>); + this, + Invocation.method( + #deleteOrganizationMember, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteOrganizationMemberResponse>); @override _i4.ResponseFuture<_i13.DeleteOrganizationInviteResponse> - deleteOrganizationInvite( + deleteOrganizationInvite( _i13.DeleteOrganizationInviteRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #deleteOrganizationInvite, [request], @@ -1623,31 +1475,32 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), returnValue: _FakeResponseFuture_2<_i13.DeleteOrganizationInviteResponse>( - this, - Invocation.method( - #deleteOrganizationInvite, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #deleteOrganizationInvite, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i13.DeleteOrganizationInviteResponse>( - this, - Invocation.method( - #deleteOrganizationInvite, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteOrganizationInviteResponse>); + this, + Invocation.method( + #deleteOrganizationInvite, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteOrganizationInviteResponse>); @override _i4.ResponseFuture<_i13.ResendOrganizationInviteResponse> - resendOrganizationInvite( + resendOrganizationInvite( _i13.ResendOrganizationInviteRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #resendOrganizationInvite, [request], @@ -1655,23 +1508,24 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), returnValue: _FakeResponseFuture_2<_i13.ResendOrganizationInviteResponse>( - this, - Invocation.method( - #resendOrganizationInvite, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #resendOrganizationInvite, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i13.ResendOrganizationInviteResponse>( - this, - Invocation.method( - #resendOrganizationInvite, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ResendOrganizationInviteResponse>); + this, + Invocation.method( + #resendOrganizationInvite, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ResendOrganizationInviteResponse>); @override _i4.ResponseFuture<_i13.EnableBillingServiceResponse> enableBillingService( @@ -1679,29 +1533,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #enableBillingService, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.EnableBillingServiceResponse>( - this, - Invocation.method( - #enableBillingService, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.EnableBillingServiceResponse>( - this, - Invocation.method( - #enableBillingService, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.EnableBillingServiceResponse>); + Invocation.method( + #enableBillingService, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.EnableBillingServiceResponse>( + this, + Invocation.method( + #enableBillingService, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.EnableBillingServiceResponse>( + this, + Invocation.method( + #enableBillingService, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.EnableBillingServiceResponse>); @override _i4.ResponseFuture<_i13.DisableBillingServiceResponse> disableBillingService( @@ -1709,29 +1565,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #disableBillingService, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DisableBillingServiceResponse>( - this, - Invocation.method( - #disableBillingService, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DisableBillingServiceResponse>( - this, - Invocation.method( - #disableBillingService, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DisableBillingServiceResponse>); + Invocation.method( + #disableBillingService, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.DisableBillingServiceResponse>( + this, + Invocation.method( + #disableBillingService, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DisableBillingServiceResponse>( + this, + Invocation.method( + #disableBillingService, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DisableBillingServiceResponse>); @override _i4.ResponseFuture<_i13.UpdateBillingServiceResponse> updateBillingService( @@ -1739,37 +1597,39 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #updateBillingService, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UpdateBillingServiceResponse>( - this, - Invocation.method( - #updateBillingService, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UpdateBillingServiceResponse>( - this, - Invocation.method( - #updateBillingService, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UpdateBillingServiceResponse>); + Invocation.method( + #updateBillingService, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.UpdateBillingServiceResponse>( + this, + Invocation.method( + #updateBillingService, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UpdateBillingServiceResponse>( + this, + Invocation.method( + #updateBillingService, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UpdateBillingServiceResponse>); @override _i4.ResponseFuture<_i13.GetBillingServiceConfigResponse> - getBillingServiceConfig( + getBillingServiceConfig( _i13.GetBillingServiceConfigRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #getBillingServiceConfig, [request], @@ -1777,31 +1637,32 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), returnValue: _FakeResponseFuture_2<_i13.GetBillingServiceConfigResponse>( - this, - Invocation.method( - #getBillingServiceConfig, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #getBillingServiceConfig, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i13.GetBillingServiceConfigResponse>( - this, - Invocation.method( - #getBillingServiceConfig, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetBillingServiceConfigResponse>); + this, + Invocation.method( + #getBillingServiceConfig, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetBillingServiceConfigResponse>); @override _i4.ResponseFuture<_i13.OrganizationSetSupportEmailResponse> - organizationSetSupportEmail( + organizationSetSupportEmail( _i13.OrganizationSetSupportEmailRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #organizationSetSupportEmail, [request], @@ -1809,31 +1670,32 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), returnValue: _FakeResponseFuture_2<_i13.OrganizationSetSupportEmailResponse>( - this, - Invocation.method( - #organizationSetSupportEmail, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #organizationSetSupportEmail, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i13.OrganizationSetSupportEmailResponse>( - this, - Invocation.method( - #organizationSetSupportEmail, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.OrganizationSetSupportEmailResponse>); + this, + Invocation.method( + #organizationSetSupportEmail, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.OrganizationSetSupportEmailResponse>); @override _i4.ResponseFuture<_i13.OrganizationGetSupportEmailResponse> - organizationGetSupportEmail( + organizationGetSupportEmail( _i13.OrganizationGetSupportEmailRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #organizationGetSupportEmail, [request], @@ -1841,23 +1703,24 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), returnValue: _FakeResponseFuture_2<_i13.OrganizationGetSupportEmailResponse>( - this, - Invocation.method( - #organizationGetSupportEmail, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #organizationGetSupportEmail, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i13.OrganizationGetSupportEmailResponse>( - this, - Invocation.method( - #organizationGetSupportEmail, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.OrganizationGetSupportEmailResponse>); + this, + Invocation.method( + #organizationGetSupportEmail, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.OrganizationGetSupportEmailResponse>); @override _i4.ResponseFuture<_i13.OrganizationSetLogoResponse> organizationSetLogo( @@ -1865,29 +1728,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #organizationSetLogo, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.OrganizationSetLogoResponse>( - this, - Invocation.method( - #organizationSetLogo, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.OrganizationSetLogoResponse>( - this, - Invocation.method( - #organizationSetLogo, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.OrganizationSetLogoResponse>); + Invocation.method( + #organizationSetLogo, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.OrganizationSetLogoResponse>( + this, + Invocation.method( + #organizationSetLogo, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.OrganizationSetLogoResponse>( + this, + Invocation.method( + #organizationSetLogo, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.OrganizationSetLogoResponse>); @override _i4.ResponseFuture<_i13.OrganizationGetLogoResponse> organizationGetLogo( @@ -1895,29 +1760,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #organizationGetLogo, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.OrganizationGetLogoResponse>( - this, - Invocation.method( - #organizationGetLogo, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.OrganizationGetLogoResponse>( - this, - Invocation.method( - #organizationGetLogo, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.OrganizationGetLogoResponse>); + Invocation.method( + #organizationGetLogo, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.OrganizationGetLogoResponse>( + this, + Invocation.method( + #organizationGetLogo, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.OrganizationGetLogoResponse>( + this, + Invocation.method( + #organizationGetLogo, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.OrganizationGetLogoResponse>); @override _i4.ResponseFuture<_i13.EnableAuthServiceResponse> enableAuthService( @@ -1925,29 +1792,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #enableAuthService, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.EnableAuthServiceResponse>( - this, - Invocation.method( - #enableAuthService, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.EnableAuthServiceResponse>( - this, - Invocation.method( - #enableAuthService, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.EnableAuthServiceResponse>); + Invocation.method( + #enableAuthService, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.EnableAuthServiceResponse>( + this, + Invocation.method( + #enableAuthService, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.EnableAuthServiceResponse>( + this, + Invocation.method( + #enableAuthService, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.EnableAuthServiceResponse>); @override _i4.ResponseFuture<_i13.DisableAuthServiceResponse> disableAuthService( @@ -1955,29 +1823,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #disableAuthService, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DisableAuthServiceResponse>( - this, - Invocation.method( - #disableAuthService, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DisableAuthServiceResponse>( - this, - Invocation.method( - #disableAuthService, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DisableAuthServiceResponse>); + Invocation.method( + #disableAuthService, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.DisableAuthServiceResponse>( + this, + Invocation.method( + #disableAuthService, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DisableAuthServiceResponse>( + this, + Invocation.method( + #disableAuthService, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DisableAuthServiceResponse>); @override _i4.ResponseFuture<_i13.CreateOAuthAppResponse> createOAuthApp( @@ -1985,29 +1854,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createOAuthApp, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CreateOAuthAppResponse>( - this, - Invocation.method( - #createOAuthApp, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CreateOAuthAppResponse>( - this, - Invocation.method( - #createOAuthApp, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateOAuthAppResponse>); + Invocation.method(#createOAuthApp, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.CreateOAuthAppResponse>( + this, + Invocation.method( + #createOAuthApp, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CreateOAuthAppResponse>( + this, + Invocation.method( + #createOAuthApp, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CreateOAuthAppResponse>); @override _i4.ResponseFuture<_i13.ReadOAuthAppResponse> readOAuthApp( @@ -2015,29 +1881,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #readOAuthApp, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ReadOAuthAppResponse>( - this, - Invocation.method( - #readOAuthApp, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ReadOAuthAppResponse>( - this, - Invocation.method( - #readOAuthApp, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ReadOAuthAppResponse>); + Invocation.method(#readOAuthApp, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.ReadOAuthAppResponse>( + this, + Invocation.method(#readOAuthApp, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ReadOAuthAppResponse>( + this, + Invocation.method( + #readOAuthApp, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ReadOAuthAppResponse>); @override _i4.ResponseFuture<_i13.UpdateOAuthAppResponse> updateOAuthApp( @@ -2045,29 +1904,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #updateOAuthApp, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UpdateOAuthAppResponse>( - this, - Invocation.method( - #updateOAuthApp, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UpdateOAuthAppResponse>( - this, - Invocation.method( - #updateOAuthApp, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UpdateOAuthAppResponse>); + Invocation.method(#updateOAuthApp, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.UpdateOAuthAppResponse>( + this, + Invocation.method( + #updateOAuthApp, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UpdateOAuthAppResponse>( + this, + Invocation.method( + #updateOAuthApp, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UpdateOAuthAppResponse>); @override _i4.ResponseFuture<_i13.DeleteOAuthAppResponse> deleteOAuthApp( @@ -2075,29 +1931,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteOAuthApp, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteOAuthAppResponse>( - this, - Invocation.method( - #deleteOAuthApp, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteOAuthAppResponse>( - this, - Invocation.method( - #deleteOAuthApp, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteOAuthAppResponse>); + Invocation.method(#deleteOAuthApp, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.DeleteOAuthAppResponse>( + this, + Invocation.method( + #deleteOAuthApp, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteOAuthAppResponse>( + this, + Invocation.method( + #deleteOAuthApp, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteOAuthAppResponse>); @override _i4.ResponseFuture<_i13.ListOAuthAppsResponse> listOAuthApps( @@ -2105,29 +1958,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listOAuthApps, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListOAuthAppsResponse>( - this, - Invocation.method( - #listOAuthApps, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ListOAuthAppsResponse>( - this, - Invocation.method( - #listOAuthApps, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListOAuthAppsResponse>); + Invocation.method(#listOAuthApps, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.ListOAuthAppsResponse>( + this, + Invocation.method(#listOAuthApps, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListOAuthAppsResponse>( + this, + Invocation.method( + #listOAuthApps, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListOAuthAppsResponse>); @override _i4.ResponseFuture<_i13.CreateLocationResponse> createLocation( @@ -2135,29 +1981,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createLocation, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CreateLocationResponse>( - this, - Invocation.method( - #createLocation, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CreateLocationResponse>( - this, - Invocation.method( - #createLocation, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateLocationResponse>); + Invocation.method(#createLocation, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.CreateLocationResponse>( + this, + Invocation.method( + #createLocation, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CreateLocationResponse>( + this, + Invocation.method( + #createLocation, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CreateLocationResponse>); @override _i4.ResponseFuture<_i13.GetLocationResponse> getLocation( @@ -2165,29 +2008,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getLocation, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetLocationResponse>( - this, - Invocation.method( - #getLocation, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetLocationResponse>( - this, - Invocation.method( - #getLocation, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetLocationResponse>); + Invocation.method(#getLocation, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.GetLocationResponse>( + this, + Invocation.method(#getLocation, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetLocationResponse>( + this, + Invocation.method( + #getLocation, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetLocationResponse>); @override _i4.ResponseFuture<_i13.UpdateLocationResponse> updateLocation( @@ -2195,29 +2031,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #updateLocation, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UpdateLocationResponse>( - this, - Invocation.method( - #updateLocation, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UpdateLocationResponse>( - this, - Invocation.method( - #updateLocation, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UpdateLocationResponse>); + Invocation.method(#updateLocation, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.UpdateLocationResponse>( + this, + Invocation.method( + #updateLocation, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UpdateLocationResponse>( + this, + Invocation.method( + #updateLocation, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UpdateLocationResponse>); @override _i4.ResponseFuture<_i13.DeleteLocationResponse> deleteLocation( @@ -2225,29 +2058,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteLocation, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteLocationResponse>( - this, - Invocation.method( - #deleteLocation, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteLocationResponse>( - this, - Invocation.method( - #deleteLocation, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteLocationResponse>); + Invocation.method(#deleteLocation, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.DeleteLocationResponse>( + this, + Invocation.method( + #deleteLocation, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteLocationResponse>( + this, + Invocation.method( + #deleteLocation, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteLocationResponse>); @override _i4.ResponseFuture<_i13.ListLocationsResponse> listLocations( @@ -2255,29 +2085,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listLocations, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListLocationsResponse>( - this, - Invocation.method( - #listLocations, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ListLocationsResponse>( - this, - Invocation.method( - #listLocations, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListLocationsResponse>); + Invocation.method(#listLocations, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.ListLocationsResponse>( + this, + Invocation.method(#listLocations, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListLocationsResponse>( + this, + Invocation.method( + #listLocations, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListLocationsResponse>); @override _i4.ResponseFuture<_i13.ShareLocationResponse> shareLocation( @@ -2285,29 +2108,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #shareLocation, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ShareLocationResponse>( - this, - Invocation.method( - #shareLocation, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ShareLocationResponse>( - this, - Invocation.method( - #shareLocation, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ShareLocationResponse>); + Invocation.method(#shareLocation, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.ShareLocationResponse>( + this, + Invocation.method(#shareLocation, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ShareLocationResponse>( + this, + Invocation.method( + #shareLocation, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ShareLocationResponse>); @override _i4.ResponseFuture<_i13.UnshareLocationResponse> unshareLocation( @@ -2315,29 +2131,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #unshareLocation, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UnshareLocationResponse>( - this, - Invocation.method( - #unshareLocation, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UnshareLocationResponse>( - this, - Invocation.method( - #unshareLocation, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UnshareLocationResponse>); + Invocation.method(#unshareLocation, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.UnshareLocationResponse>( + this, + Invocation.method( + #unshareLocation, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UnshareLocationResponse>( + this, + Invocation.method( + #unshareLocation, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UnshareLocationResponse>); @override _i4.ResponseFuture<_i13.LocationAuthResponse> locationAuth( @@ -2345,29 +2158,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #locationAuth, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.LocationAuthResponse>( - this, - Invocation.method( - #locationAuth, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.LocationAuthResponse>( - this, - Invocation.method( - #locationAuth, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.LocationAuthResponse>); + Invocation.method(#locationAuth, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.LocationAuthResponse>( + this, + Invocation.method(#locationAuth, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.LocationAuthResponse>( + this, + Invocation.method( + #locationAuth, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.LocationAuthResponse>); @override _i4.ResponseFuture<_i13.CreateLocationSecretResponse> createLocationSecret( @@ -2375,29 +2181,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createLocationSecret, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CreateLocationSecretResponse>( - this, - Invocation.method( - #createLocationSecret, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CreateLocationSecretResponse>( - this, - Invocation.method( - #createLocationSecret, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateLocationSecretResponse>); + Invocation.method( + #createLocationSecret, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.CreateLocationSecretResponse>( + this, + Invocation.method( + #createLocationSecret, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CreateLocationSecretResponse>( + this, + Invocation.method( + #createLocationSecret, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CreateLocationSecretResponse>); @override _i4.ResponseFuture<_i13.DeleteLocationSecretResponse> deleteLocationSecret( @@ -2405,29 +2213,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteLocationSecret, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteLocationSecretResponse>( - this, - Invocation.method( - #deleteLocationSecret, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteLocationSecretResponse>( - this, - Invocation.method( - #deleteLocationSecret, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteLocationSecretResponse>); + Invocation.method( + #deleteLocationSecret, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.DeleteLocationSecretResponse>( + this, + Invocation.method( + #deleteLocationSecret, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteLocationSecretResponse>( + this, + Invocation.method( + #deleteLocationSecret, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteLocationSecretResponse>); @override _i4.ResponseFuture<_i13.GetRobotResponse> getRobot( @@ -2435,28 +2245,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getRobot, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetRobotResponse>( - this, - Invocation.method( - #getRobot, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i13.GetRobotResponse>( - this, - Invocation.method( - #getRobot, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetRobotResponse>); + Invocation.method(#getRobot, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.GetRobotResponse>( + this, + Invocation.method(#getRobot, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetRobotResponse>( + this, + Invocation.method(#getRobot, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i13.GetRobotResponse>); @override _i4.ResponseFuture<_i13.GetRoverRentalRobotsResponse> getRoverRentalRobots( @@ -2464,29 +2264,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getRoverRentalRobots, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetRoverRentalRobotsResponse>( - this, - Invocation.method( - #getRoverRentalRobots, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetRoverRentalRobotsResponse>( - this, - Invocation.method( - #getRoverRentalRobots, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetRoverRentalRobotsResponse>); + Invocation.method( + #getRoverRentalRobots, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.GetRoverRentalRobotsResponse>( + this, + Invocation.method( + #getRoverRentalRobots, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetRoverRentalRobotsResponse>( + this, + Invocation.method( + #getRoverRentalRobots, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetRoverRentalRobotsResponse>); @override _i4.ResponseFuture<_i13.GetRobotPartsResponse> getRobotParts( @@ -2494,29 +2296,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getRobotParts, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetRobotPartsResponse>( - this, - Invocation.method( - #getRobotParts, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetRobotPartsResponse>( - this, - Invocation.method( - #getRobotParts, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetRobotPartsResponse>); + Invocation.method(#getRobotParts, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.GetRobotPartsResponse>( + this, + Invocation.method(#getRobotParts, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetRobotPartsResponse>( + this, + Invocation.method( + #getRobotParts, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetRobotPartsResponse>); @override _i4.ResponseFuture<_i13.GetRobotPartResponse> getRobotPart( @@ -2524,29 +2319,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getRobotPart, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetRobotPartResponse>( - this, - Invocation.method( - #getRobotPart, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetRobotPartResponse>( - this, - Invocation.method( - #getRobotPart, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetRobotPartResponse>); + Invocation.method(#getRobotPart, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.GetRobotPartResponse>( + this, + Invocation.method(#getRobotPart, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetRobotPartResponse>( + this, + Invocation.method( + #getRobotPart, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetRobotPartResponse>); @override _i4.ResponseFuture<_i13.GetRobotPartLogsResponse> getRobotPartLogs( @@ -2554,29 +2342,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getRobotPartLogs, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetRobotPartLogsResponse>( - this, - Invocation.method( - #getRobotPartLogs, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetRobotPartLogsResponse>( - this, - Invocation.method( - #getRobotPartLogs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetRobotPartLogsResponse>); + Invocation.method( + #getRobotPartLogs, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.GetRobotPartLogsResponse>( + this, + Invocation.method( + #getRobotPartLogs, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetRobotPartLogsResponse>( + this, + Invocation.method( + #getRobotPartLogs, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetRobotPartLogsResponse>); @override _i4.ResponseStream<_i13.TailRobotPartLogsResponse> tailRobotPartLogs( @@ -2584,29 +2373,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #tailRobotPartLogs, - [request], - {#options: options}, - ), - returnValue: _FakeResponseStream_3<_i13.TailRobotPartLogsResponse>( - this, - Invocation.method( - #tailRobotPartLogs, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseStream_3<_i13.TailRobotPartLogsResponse>( - this, - Invocation.method( - #tailRobotPartLogs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseStream<_i13.TailRobotPartLogsResponse>); + Invocation.method( + #tailRobotPartLogs, + [request], + {#options: options}, + ), + returnValue: _FakeResponseStream_3<_i13.TailRobotPartLogsResponse>( + this, + Invocation.method( + #tailRobotPartLogs, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseStream_3<_i13.TailRobotPartLogsResponse>( + this, + Invocation.method( + #tailRobotPartLogs, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream<_i13.TailRobotPartLogsResponse>); @override _i4.ResponseFuture<_i13.GetRobotPartHistoryResponse> getRobotPartHistory( @@ -2614,29 +2404,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getRobotPartHistory, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetRobotPartHistoryResponse>( - this, - Invocation.method( - #getRobotPartHistory, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetRobotPartHistoryResponse>( - this, - Invocation.method( - #getRobotPartHistory, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetRobotPartHistoryResponse>); + Invocation.method( + #getRobotPartHistory, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.GetRobotPartHistoryResponse>( + this, + Invocation.method( + #getRobotPartHistory, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetRobotPartHistoryResponse>( + this, + Invocation.method( + #getRobotPartHistory, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetRobotPartHistoryResponse>); @override _i4.ResponseFuture<_i13.UpdateRobotPartResponse> updateRobotPart( @@ -2644,29 +2436,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #updateRobotPart, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UpdateRobotPartResponse>( - this, - Invocation.method( - #updateRobotPart, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UpdateRobotPartResponse>( - this, - Invocation.method( - #updateRobotPart, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UpdateRobotPartResponse>); + Invocation.method(#updateRobotPart, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.UpdateRobotPartResponse>( + this, + Invocation.method( + #updateRobotPart, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UpdateRobotPartResponse>( + this, + Invocation.method( + #updateRobotPart, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UpdateRobotPartResponse>); @override _i4.ResponseFuture<_i13.NewRobotPartResponse> newRobotPart( @@ -2674,29 +2463,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #newRobotPart, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.NewRobotPartResponse>( - this, - Invocation.method( - #newRobotPart, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.NewRobotPartResponse>( - this, - Invocation.method( - #newRobotPart, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.NewRobotPartResponse>); + Invocation.method(#newRobotPart, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.NewRobotPartResponse>( + this, + Invocation.method(#newRobotPart, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.NewRobotPartResponse>( + this, + Invocation.method( + #newRobotPart, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.NewRobotPartResponse>); @override _i4.ResponseFuture<_i13.DeleteRobotPartResponse> deleteRobotPart( @@ -2704,29 +2486,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteRobotPart, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteRobotPartResponse>( - this, - Invocation.method( - #deleteRobotPart, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteRobotPartResponse>( - this, - Invocation.method( - #deleteRobotPart, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteRobotPartResponse>); + Invocation.method(#deleteRobotPart, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.DeleteRobotPartResponse>( + this, + Invocation.method( + #deleteRobotPart, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteRobotPartResponse>( + this, + Invocation.method( + #deleteRobotPart, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteRobotPartResponse>); @override _i4.ResponseFuture<_i13.GetRobotAPIKeysResponse> getRobotAPIKeys( @@ -2734,29 +2513,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getRobotAPIKeys, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetRobotAPIKeysResponse>( - this, - Invocation.method( - #getRobotAPIKeys, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetRobotAPIKeysResponse>( - this, - Invocation.method( - #getRobotAPIKeys, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetRobotAPIKeysResponse>); + Invocation.method(#getRobotAPIKeys, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.GetRobotAPIKeysResponse>( + this, + Invocation.method( + #getRobotAPIKeys, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetRobotAPIKeysResponse>( + this, + Invocation.method( + #getRobotAPIKeys, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetRobotAPIKeysResponse>); @override _i4.ResponseFuture<_i13.MarkPartAsMainResponse> markPartAsMain( @@ -2764,29 +2540,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #markPartAsMain, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.MarkPartAsMainResponse>( - this, - Invocation.method( - #markPartAsMain, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.MarkPartAsMainResponse>( - this, - Invocation.method( - #markPartAsMain, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.MarkPartAsMainResponse>); + Invocation.method(#markPartAsMain, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.MarkPartAsMainResponse>( + this, + Invocation.method( + #markPartAsMain, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.MarkPartAsMainResponse>( + this, + Invocation.method( + #markPartAsMain, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.MarkPartAsMainResponse>); @override _i4.ResponseFuture<_i13.MarkPartForRestartResponse> markPartForRestart( @@ -2794,29 +2567,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #markPartForRestart, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.MarkPartForRestartResponse>( - this, - Invocation.method( - #markPartForRestart, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.MarkPartForRestartResponse>( - this, - Invocation.method( - #markPartForRestart, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.MarkPartForRestartResponse>); + Invocation.method( + #markPartForRestart, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.MarkPartForRestartResponse>( + this, + Invocation.method( + #markPartForRestart, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.MarkPartForRestartResponse>( + this, + Invocation.method( + #markPartForRestart, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.MarkPartForRestartResponse>); @override _i4.ResponseFuture<_i13.CreateRobotPartSecretResponse> createRobotPartSecret( @@ -2824,29 +2598,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createRobotPartSecret, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CreateRobotPartSecretResponse>( - this, - Invocation.method( - #createRobotPartSecret, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CreateRobotPartSecretResponse>( - this, - Invocation.method( - #createRobotPartSecret, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateRobotPartSecretResponse>); + Invocation.method( + #createRobotPartSecret, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.CreateRobotPartSecretResponse>( + this, + Invocation.method( + #createRobotPartSecret, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CreateRobotPartSecretResponse>( + this, + Invocation.method( + #createRobotPartSecret, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CreateRobotPartSecretResponse>); @override _i4.ResponseFuture<_i13.DeleteRobotPartSecretResponse> deleteRobotPartSecret( @@ -2854,29 +2630,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteRobotPartSecret, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteRobotPartSecretResponse>( - this, - Invocation.method( - #deleteRobotPartSecret, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteRobotPartSecretResponse>( - this, - Invocation.method( - #deleteRobotPartSecret, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteRobotPartSecretResponse>); + Invocation.method( + #deleteRobotPartSecret, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.DeleteRobotPartSecretResponse>( + this, + Invocation.method( + #deleteRobotPartSecret, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteRobotPartSecretResponse>( + this, + Invocation.method( + #deleteRobotPartSecret, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteRobotPartSecretResponse>); @override _i4.ResponseFuture<_i13.ListRobotsResponse> listRobots( @@ -2884,29 +2662,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listRobots, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListRobotsResponse>( - this, - Invocation.method( - #listRobots, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ListRobotsResponse>( - this, - Invocation.method( - #listRobots, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListRobotsResponse>); + Invocation.method(#listRobots, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.ListRobotsResponse>( + this, + Invocation.method(#listRobots, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListRobotsResponse>( + this, + Invocation.method( + #listRobots, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListRobotsResponse>); @override _i4.ResponseFuture<_i13.NewRobotResponse> newRobot( @@ -2914,28 +2685,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #newRobot, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.NewRobotResponse>( - this, - Invocation.method( - #newRobot, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i13.NewRobotResponse>( - this, - Invocation.method( - #newRobot, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.NewRobotResponse>); + Invocation.method(#newRobot, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.NewRobotResponse>( + this, + Invocation.method(#newRobot, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.NewRobotResponse>( + this, + Invocation.method(#newRobot, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i13.NewRobotResponse>); @override _i4.ResponseFuture<_i13.UpdateRobotResponse> updateRobot( @@ -2943,29 +2704,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #updateRobot, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UpdateRobotResponse>( - this, - Invocation.method( - #updateRobot, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UpdateRobotResponse>( - this, - Invocation.method( - #updateRobot, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UpdateRobotResponse>); + Invocation.method(#updateRobot, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.UpdateRobotResponse>( + this, + Invocation.method(#updateRobot, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UpdateRobotResponse>( + this, + Invocation.method( + #updateRobot, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UpdateRobotResponse>); @override _i4.ResponseFuture<_i13.DeleteRobotResponse> deleteRobot( @@ -2973,29 +2727,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteRobot, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteRobotResponse>( - this, - Invocation.method( - #deleteRobot, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteRobotResponse>( - this, - Invocation.method( - #deleteRobot, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteRobotResponse>); + Invocation.method(#deleteRobot, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.DeleteRobotResponse>( + this, + Invocation.method(#deleteRobot, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteRobotResponse>( + this, + Invocation.method( + #deleteRobot, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteRobotResponse>); @override _i4.ResponseFuture<_i13.ListFragmentsResponse> listFragments( @@ -3003,29 +2750,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listFragments, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListFragmentsResponse>( - this, - Invocation.method( - #listFragments, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ListFragmentsResponse>( - this, - Invocation.method( - #listFragments, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListFragmentsResponse>); + Invocation.method(#listFragments, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.ListFragmentsResponse>( + this, + Invocation.method(#listFragments, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListFragmentsResponse>( + this, + Invocation.method( + #listFragments, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListFragmentsResponse>); @override _i4.ResponseFuture<_i13.GetFragmentResponse> getFragment( @@ -3033,29 +2773,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getFragment, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetFragmentResponse>( - this, - Invocation.method( - #getFragment, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetFragmentResponse>( - this, - Invocation.method( - #getFragment, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetFragmentResponse>); + Invocation.method(#getFragment, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.GetFragmentResponse>( + this, + Invocation.method(#getFragment, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetFragmentResponse>( + this, + Invocation.method( + #getFragment, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetFragmentResponse>); @override _i4.ResponseFuture<_i13.CreateFragmentResponse> createFragment( @@ -3063,29 +2796,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createFragment, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CreateFragmentResponse>( - this, - Invocation.method( - #createFragment, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CreateFragmentResponse>( - this, - Invocation.method( - #createFragment, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateFragmentResponse>); + Invocation.method(#createFragment, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.CreateFragmentResponse>( + this, + Invocation.method( + #createFragment, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CreateFragmentResponse>( + this, + Invocation.method( + #createFragment, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CreateFragmentResponse>); @override _i4.ResponseFuture<_i13.UpdateFragmentResponse> updateFragment( @@ -3093,29 +2823,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #updateFragment, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UpdateFragmentResponse>( - this, - Invocation.method( - #updateFragment, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UpdateFragmentResponse>( - this, - Invocation.method( - #updateFragment, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UpdateFragmentResponse>); + Invocation.method(#updateFragment, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.UpdateFragmentResponse>( + this, + Invocation.method( + #updateFragment, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UpdateFragmentResponse>( + this, + Invocation.method( + #updateFragment, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UpdateFragmentResponse>); @override _i4.ResponseFuture<_i13.DeleteFragmentResponse> deleteFragment( @@ -3123,29 +2850,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteFragment, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteFragmentResponse>( - this, - Invocation.method( - #deleteFragment, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteFragmentResponse>( - this, - Invocation.method( - #deleteFragment, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteFragmentResponse>); + Invocation.method(#deleteFragment, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.DeleteFragmentResponse>( + this, + Invocation.method( + #deleteFragment, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteFragmentResponse>( + this, + Invocation.method( + #deleteFragment, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteFragmentResponse>); @override _i4.ResponseFuture<_i13.ListMachineFragmentsResponse> listMachineFragments( @@ -3153,29 +2877,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listMachineFragments, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListMachineFragmentsResponse>( - this, - Invocation.method( - #listMachineFragments, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ListMachineFragmentsResponse>( - this, - Invocation.method( - #listMachineFragments, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListMachineFragmentsResponse>); + Invocation.method( + #listMachineFragments, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.ListMachineFragmentsResponse>( + this, + Invocation.method( + #listMachineFragments, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListMachineFragmentsResponse>( + this, + Invocation.method( + #listMachineFragments, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListMachineFragmentsResponse>); @override _i4.ResponseFuture<_i13.GetFragmentHistoryResponse> getFragmentHistory( @@ -3183,29 +2909,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getFragmentHistory, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetFragmentHistoryResponse>( - this, - Invocation.method( - #getFragmentHistory, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetFragmentHistoryResponse>( - this, - Invocation.method( - #getFragmentHistory, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetFragmentHistoryResponse>); + Invocation.method( + #getFragmentHistory, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.GetFragmentHistoryResponse>( + this, + Invocation.method( + #getFragmentHistory, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetFragmentHistoryResponse>( + this, + Invocation.method( + #getFragmentHistory, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetFragmentHistoryResponse>); @override _i4.ResponseFuture<_i13.AddRoleResponse> addRole( @@ -3213,28 +2940,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #addRole, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.AddRoleResponse>( - this, - Invocation.method( - #addRole, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i13.AddRoleResponse>( - this, - Invocation.method( - #addRole, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.AddRoleResponse>); + Invocation.method(#addRole, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.AddRoleResponse>( + this, + Invocation.method(#addRole, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.AddRoleResponse>( + this, + Invocation.method(#addRole, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i13.AddRoleResponse>); @override _i4.ResponseFuture<_i13.RemoveRoleResponse> removeRole( @@ -3242,29 +2959,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #removeRole, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.RemoveRoleResponse>( - this, - Invocation.method( - #removeRole, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.RemoveRoleResponse>( - this, - Invocation.method( - #removeRole, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.RemoveRoleResponse>); + Invocation.method(#removeRole, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.RemoveRoleResponse>( + this, + Invocation.method(#removeRole, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.RemoveRoleResponse>( + this, + Invocation.method( + #removeRole, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.RemoveRoleResponse>); @override _i4.ResponseFuture<_i13.ChangeRoleResponse> changeRole( @@ -3272,29 +2982,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #changeRole, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ChangeRoleResponse>( - this, - Invocation.method( - #changeRole, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ChangeRoleResponse>( - this, - Invocation.method( - #changeRole, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ChangeRoleResponse>); + Invocation.method(#changeRole, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.ChangeRoleResponse>( + this, + Invocation.method(#changeRole, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ChangeRoleResponse>( + this, + Invocation.method( + #changeRole, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ChangeRoleResponse>); @override _i4.ResponseFuture<_i13.ListAuthorizationsResponse> listAuthorizations( @@ -3302,29 +3005,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listAuthorizations, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListAuthorizationsResponse>( - this, - Invocation.method( - #listAuthorizations, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ListAuthorizationsResponse>( - this, - Invocation.method( - #listAuthorizations, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListAuthorizationsResponse>); + Invocation.method( + #listAuthorizations, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.ListAuthorizationsResponse>( + this, + Invocation.method( + #listAuthorizations, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListAuthorizationsResponse>( + this, + Invocation.method( + #listAuthorizations, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListAuthorizationsResponse>); @override _i4.ResponseFuture<_i13.CheckPermissionsResponse> checkPermissions( @@ -3332,29 +3036,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #checkPermissions, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CheckPermissionsResponse>( - this, - Invocation.method( - #checkPermissions, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CheckPermissionsResponse>( - this, - Invocation.method( - #checkPermissions, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CheckPermissionsResponse>); + Invocation.method( + #checkPermissions, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.CheckPermissionsResponse>( + this, + Invocation.method( + #checkPermissions, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CheckPermissionsResponse>( + this, + Invocation.method( + #checkPermissions, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CheckPermissionsResponse>); @override _i4.ResponseFuture<_i13.GetRegistryItemResponse> getRegistryItem( @@ -3362,29 +3067,26 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getRegistryItem, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetRegistryItemResponse>( - this, - Invocation.method( - #getRegistryItem, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetRegistryItemResponse>( - this, - Invocation.method( - #getRegistryItem, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetRegistryItemResponse>); + Invocation.method(#getRegistryItem, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.GetRegistryItemResponse>( + this, + Invocation.method( + #getRegistryItem, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetRegistryItemResponse>( + this, + Invocation.method( + #getRegistryItem, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.GetRegistryItemResponse>); @override _i4.ResponseFuture<_i13.CreateRegistryItemResponse> createRegistryItem( @@ -3392,89 +3094,92 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createRegistryItem, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CreateRegistryItemResponse>( - this, - Invocation.method( - #createRegistryItem, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CreateRegistryItemResponse>( - this, - Invocation.method( - #createRegistryItem, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateRegistryItemResponse>); - - @override - _i4.ResponseFuture<_i13.UpdateRegistryItemResponse> updateRegistryItem( - _i13.UpdateRegistryItemRequest? request, { - _i3.CallOptions? options, - }) => - (super.noSuchMethod( - Invocation.method( - #updateRegistryItem, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UpdateRegistryItemResponse>( - this, - Invocation.method( - #updateRegistryItem, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UpdateRegistryItemResponse>( - this, - Invocation.method( - #updateRegistryItem, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UpdateRegistryItemResponse>); - - @override - _i4.ResponseFuture<_i13.ListRegistryItemsResponse> listRegistryItems( + Invocation.method( + #createRegistryItem, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.CreateRegistryItemResponse>( + this, + Invocation.method( + #createRegistryItem, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CreateRegistryItemResponse>( + this, + Invocation.method( + #createRegistryItem, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CreateRegistryItemResponse>); + + @override + _i4.ResponseFuture<_i13.UpdateRegistryItemResponse> updateRegistryItem( + _i13.UpdateRegistryItemRequest? request, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method( + #updateRegistryItem, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.UpdateRegistryItemResponse>( + this, + Invocation.method( + #updateRegistryItem, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UpdateRegistryItemResponse>( + this, + Invocation.method( + #updateRegistryItem, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UpdateRegistryItemResponse>); + + @override + _i4.ResponseFuture<_i13.ListRegistryItemsResponse> listRegistryItems( _i13.ListRegistryItemsRequest? request, { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listRegistryItems, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListRegistryItemsResponse>( - this, - Invocation.method( - #listRegistryItems, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ListRegistryItemsResponse>( - this, - Invocation.method( - #listRegistryItems, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListRegistryItemsResponse>); + Invocation.method( + #listRegistryItems, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.ListRegistryItemsResponse>( + this, + Invocation.method( + #listRegistryItems, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListRegistryItemsResponse>( + this, + Invocation.method( + #listRegistryItems, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListRegistryItemsResponse>); @override _i4.ResponseFuture<_i13.DeleteRegistryItemResponse> deleteRegistryItem( @@ -3482,29 +3187,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteRegistryItem, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteRegistryItemResponse>( - this, - Invocation.method( - #deleteRegistryItem, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteRegistryItemResponse>( - this, - Invocation.method( - #deleteRegistryItem, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteRegistryItemResponse>); + Invocation.method( + #deleteRegistryItem, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.DeleteRegistryItemResponse>( + this, + Invocation.method( + #deleteRegistryItem, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteRegistryItemResponse>( + this, + Invocation.method( + #deleteRegistryItem, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.DeleteRegistryItemResponse>); @override _i4.ResponseFuture<_i13.TransferRegistryItemResponse> transferRegistryItem( @@ -3512,29 +3218,31 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #transferRegistryItem, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.TransferRegistryItemResponse>( - this, - Invocation.method( - #transferRegistryItem, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.TransferRegistryItemResponse>( - this, - Invocation.method( - #transferRegistryItem, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.TransferRegistryItemResponse>); + Invocation.method( + #transferRegistryItem, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i13.TransferRegistryItemResponse>( + this, + Invocation.method( + #transferRegistryItem, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.TransferRegistryItemResponse>( + this, + Invocation.method( + #transferRegistryItem, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.TransferRegistryItemResponse>); @override _i4.ResponseFuture<_i13.CreateModuleResponse> createModule( @@ -3542,29 +3250,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createModule, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CreateModuleResponse>( - this, - Invocation.method( - #createModule, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CreateModuleResponse>( - this, - Invocation.method( - #createModule, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateModuleResponse>); + Invocation.method(#createModule, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.CreateModuleResponse>( + this, + Invocation.method(#createModule, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CreateModuleResponse>( + this, + Invocation.method( + #createModule, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.CreateModuleResponse>); @override _i4.ResponseFuture<_i13.UpdateModuleResponse> updateModule( @@ -3572,29 +3273,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #updateModule, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UpdateModuleResponse>( - this, - Invocation.method( - #updateModule, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UpdateModuleResponse>( - this, - Invocation.method( - #updateModule, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UpdateModuleResponse>); + Invocation.method(#updateModule, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.UpdateModuleResponse>( + this, + Invocation.method(#updateModule, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UpdateModuleResponse>( + this, + Invocation.method( + #updateModule, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UpdateModuleResponse>); @override _i4.ResponseFuture<_i13.UploadModuleFileResponse> uploadModuleFile( @@ -3602,29 +3296,30 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #uploadModuleFile, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.UploadModuleFileResponse>( - this, - Invocation.method( - #uploadModuleFile, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.UploadModuleFileResponse>( - this, - Invocation.method( - #uploadModuleFile, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.UploadModuleFileResponse>); + Invocation.method( + #uploadModuleFile, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i13.UploadModuleFileResponse>( + this, + Invocation.method( + #uploadModuleFile, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.UploadModuleFileResponse>( + this, + Invocation.method( + #uploadModuleFile, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.UploadModuleFileResponse>); @override _i4.ResponseFuture<_i13.GetModuleResponse> getModule( @@ -3632,29 +3327,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getModule, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.GetModuleResponse>( - this, - Invocation.method( - #getModule, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.GetModuleResponse>( - this, - Invocation.method( - #getModule, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.GetModuleResponse>); + Invocation.method(#getModule, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.GetModuleResponse>( + this, + Invocation.method(#getModule, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.GetModuleResponse>( + this, + Invocation.method(#getModule, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i13.GetModuleResponse>); @override _i4.ResponseFuture<_i13.ListModulesResponse> listModules( @@ -3662,29 +3346,22 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listModules, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListModulesResponse>( - this, - Invocation.method( - #listModules, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.ListModulesResponse>( - this, - Invocation.method( - #listModules, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListModulesResponse>); + Invocation.method(#listModules, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.ListModulesResponse>( + this, + Invocation.method(#listModules, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListModulesResponse>( + this, + Invocation.method( + #listModules, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i13.ListModulesResponse>); @override _i4.ResponseFuture<_i13.CreateKeyResponse> createKey( @@ -3692,29 +3369,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createKey, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.CreateKeyResponse>( - this, - Invocation.method( - #createKey, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.CreateKeyResponse>( - this, - Invocation.method( - #createKey, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.CreateKeyResponse>); + Invocation.method(#createKey, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.CreateKeyResponse>( + this, + Invocation.method(#createKey, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.CreateKeyResponse>( + this, + Invocation.method(#createKey, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i13.CreateKeyResponse>); @override _i4.ResponseFuture<_i13.DeleteKeyResponse> deleteKey( @@ -3722,29 +3388,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteKey, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.DeleteKeyResponse>( - this, - Invocation.method( - #deleteKey, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.DeleteKeyResponse>( - this, - Invocation.method( - #deleteKey, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.DeleteKeyResponse>); + Invocation.method(#deleteKey, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.DeleteKeyResponse>( + this, + Invocation.method(#deleteKey, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.DeleteKeyResponse>( + this, + Invocation.method(#deleteKey, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i13.DeleteKeyResponse>); @override _i4.ResponseFuture<_i13.ListKeysResponse> listKeys( @@ -3752,28 +3407,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listKeys, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.ListKeysResponse>( - this, - Invocation.method( - #listKeys, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2<_i13.ListKeysResponse>( - this, - Invocation.method( - #listKeys, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.ListKeysResponse>); + Invocation.method(#listKeys, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.ListKeysResponse>( + this, + Invocation.method(#listKeys, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.ListKeysResponse>( + this, + Invocation.method(#listKeys, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i13.ListKeysResponse>); @override _i4.ResponseFuture<_i13.RenameKeyResponse> renameKey( @@ -3781,29 +3426,18 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #renameKey, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.RenameKeyResponse>( - this, - Invocation.method( - #renameKey, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.RenameKeyResponse>( - this, - Invocation.method( - #renameKey, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.RenameKeyResponse>); + Invocation.method(#renameKey, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.RenameKeyResponse>( + this, + Invocation.method(#renameKey, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.RenameKeyResponse>( + this, + Invocation.method(#renameKey, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i13.RenameKeyResponse>); @override _i4.ResponseFuture<_i13.RotateKeyResponse> rotateKey( @@ -3811,44 +3445,34 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #rotateKey, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i13.RotateKeyResponse>( - this, - Invocation.method( - #rotateKey, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i13.RotateKeyResponse>( - this, - Invocation.method( - #rotateKey, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i13.RotateKeyResponse>); + Invocation.method(#rotateKey, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i13.RotateKeyResponse>( + this, + Invocation.method(#rotateKey, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i13.RotateKeyResponse>( + this, + Invocation.method(#rotateKey, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i13.RotateKeyResponse>); @override _i4.ResponseFuture<_i13.CreateKeyFromExistingKeyAuthorizationsResponse> - createKeyFromExistingKeyAuthorizations( + createKeyFromExistingKeyAuthorizations( _i13.CreateKeyFromExistingKeyAuthorizationsRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #createKeyFromExistingKeyAuthorizations, [request], {#options: options}, ), returnValue: _FakeResponseFuture_2< - _i13.CreateKeyFromExistingKeyAuthorizationsResponse>( + _i13.CreateKeyFromExistingKeyAuthorizationsResponse + >( this, Invocation.method( #createKeyFromExistingKeyAuthorizations, @@ -3857,7 +3481,8 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { ), ), returnValueForMissingStub: _FakeResponseFuture_2< - _i13.CreateKeyFromExistingKeyAuthorizationsResponse>( + _i13.CreateKeyFromExistingKeyAuthorizationsResponse + >( this, Invocation.method( #createKeyFromExistingKeyAuthorizations, @@ -3865,8 +3490,10 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { {#options: options}, ), ), - ) as _i4.ResponseFuture< - _i13.CreateKeyFromExistingKeyAuthorizationsResponse>); + ) + as _i4.ResponseFuture< + _i13.CreateKeyFromExistingKeyAuthorizationsResponse + >); @override _i3.ClientCall $createCall( @@ -3875,37 +3502,29 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i3.ClientCall); + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); @override _i4.ResponseFuture $createUnaryCall( @@ -3914,37 +3533,29 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture); + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); @override _i4.ResponseStream $createStreamingCall( @@ -3953,37 +3564,29 @@ class MockAppServiceClient extends _i1.Mock implements _i12.AppServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseStream); + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); } /// A class which mocks [DataServiceClient]. @@ -3996,29 +3599,31 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #tabularDataByFilter, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.TabularDataByFilterResponse>( - this, - Invocation.method( - #tabularDataByFilter, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.TabularDataByFilterResponse>( - this, - Invocation.method( - #tabularDataByFilter, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.TabularDataByFilterResponse>); + Invocation.method( + #tabularDataByFilter, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i15.TabularDataByFilterResponse>( + this, + Invocation.method( + #tabularDataByFilter, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.TabularDataByFilterResponse>( + this, + Invocation.method( + #tabularDataByFilter, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.TabularDataByFilterResponse>); @override _i4.ResponseFuture<_i15.TabularDataBySQLResponse> tabularDataBySQL( @@ -4026,29 +3631,30 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #tabularDataBySQL, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.TabularDataBySQLResponse>( - this, - Invocation.method( - #tabularDataBySQL, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.TabularDataBySQLResponse>( - this, - Invocation.method( - #tabularDataBySQL, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.TabularDataBySQLResponse>); + Invocation.method( + #tabularDataBySQL, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i15.TabularDataBySQLResponse>( + this, + Invocation.method( + #tabularDataBySQL, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.TabularDataBySQLResponse>( + this, + Invocation.method( + #tabularDataBySQL, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.TabularDataBySQLResponse>); @override _i4.ResponseFuture<_i15.TabularDataByMQLResponse> tabularDataByMQL( @@ -4056,29 +3662,30 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #tabularDataByMQL, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.TabularDataByMQLResponse>( - this, - Invocation.method( - #tabularDataByMQL, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.TabularDataByMQLResponse>( - this, - Invocation.method( - #tabularDataByMQL, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.TabularDataByMQLResponse>); + Invocation.method( + #tabularDataByMQL, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i15.TabularDataByMQLResponse>( + this, + Invocation.method( + #tabularDataByMQL, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.TabularDataByMQLResponse>( + this, + Invocation.method( + #tabularDataByMQL, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.TabularDataByMQLResponse>); @override _i4.ResponseStream<_i15.ExportTabularDataResponse> exportTabularData( @@ -4086,29 +3693,30 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #exportTabularData, - [request], - {#options: options}, - ), - returnValue: _FakeResponseStream_3<_i15.ExportTabularDataResponse>( - this, - Invocation.method( - #exportTabularData, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseStream_3<_i15.ExportTabularDataResponse>( - this, - Invocation.method( - #exportTabularData, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseStream<_i15.ExportTabularDataResponse>); + Invocation.method( + #exportTabularData, + [request], + {#options: options}, + ), + returnValue: _FakeResponseStream_3<_i15.ExportTabularDataResponse>( + this, + Invocation.method( + #exportTabularData, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseStream_3<_i15.ExportTabularDataResponse>( + this, + Invocation.method( + #exportTabularData, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream<_i15.ExportTabularDataResponse>); @override _i4.ResponseFuture<_i15.GetLatestTabularDataResponse> getLatestTabularData( @@ -4116,29 +3724,31 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getLatestTabularData, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.GetLatestTabularDataResponse>( - this, - Invocation.method( - #getLatestTabularData, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.GetLatestTabularDataResponse>( - this, - Invocation.method( - #getLatestTabularData, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.GetLatestTabularDataResponse>); + Invocation.method( + #getLatestTabularData, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i15.GetLatestTabularDataResponse>( + this, + Invocation.method( + #getLatestTabularData, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.GetLatestTabularDataResponse>( + this, + Invocation.method( + #getLatestTabularData, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.GetLatestTabularDataResponse>); @override _i4.ResponseFuture<_i15.BinaryDataByFilterResponse> binaryDataByFilter( @@ -4146,29 +3756,30 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #binaryDataByFilter, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.BinaryDataByFilterResponse>( - this, - Invocation.method( - #binaryDataByFilter, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.BinaryDataByFilterResponse>( - this, - Invocation.method( - #binaryDataByFilter, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.BinaryDataByFilterResponse>); + Invocation.method( + #binaryDataByFilter, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i15.BinaryDataByFilterResponse>( + this, + Invocation.method( + #binaryDataByFilter, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.BinaryDataByFilterResponse>( + this, + Invocation.method( + #binaryDataByFilter, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.BinaryDataByFilterResponse>); @override _i4.ResponseFuture<_i15.BinaryDataByIDsResponse> binaryDataByIDs( @@ -4176,29 +3787,26 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #binaryDataByIDs, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.BinaryDataByIDsResponse>( - this, - Invocation.method( - #binaryDataByIDs, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.BinaryDataByIDsResponse>( - this, - Invocation.method( - #binaryDataByIDs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.BinaryDataByIDsResponse>); + Invocation.method(#binaryDataByIDs, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i15.BinaryDataByIDsResponse>( + this, + Invocation.method( + #binaryDataByIDs, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.BinaryDataByIDsResponse>( + this, + Invocation.method( + #binaryDataByIDs, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.BinaryDataByIDsResponse>); @override _i4.ResponseFuture<_i15.DeleteTabularDataResponse> deleteTabularData( @@ -4206,37 +3814,38 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteTabularData, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.DeleteTabularDataResponse>( - this, - Invocation.method( - #deleteTabularData, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.DeleteTabularDataResponse>( - this, - Invocation.method( - #deleteTabularData, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.DeleteTabularDataResponse>); + Invocation.method( + #deleteTabularData, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i15.DeleteTabularDataResponse>( + this, + Invocation.method( + #deleteTabularData, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.DeleteTabularDataResponse>( + this, + Invocation.method( + #deleteTabularData, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.DeleteTabularDataResponse>); @override _i4.ResponseFuture<_i15.DeleteBinaryDataByFilterResponse> - deleteBinaryDataByFilter( + deleteBinaryDataByFilter( _i15.DeleteBinaryDataByFilterRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #deleteBinaryDataByFilter, [request], @@ -4244,23 +3853,24 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { ), returnValue: _FakeResponseFuture_2<_i15.DeleteBinaryDataByFilterResponse>( - this, - Invocation.method( - #deleteBinaryDataByFilter, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #deleteBinaryDataByFilter, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i15.DeleteBinaryDataByFilterResponse>( - this, - Invocation.method( - #deleteBinaryDataByFilter, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.DeleteBinaryDataByFilterResponse>); + this, + Invocation.method( + #deleteBinaryDataByFilter, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.DeleteBinaryDataByFilterResponse>); @override _i4.ResponseFuture<_i15.DeleteBinaryDataByIDsResponse> deleteBinaryDataByIDs( @@ -4268,37 +3878,39 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteBinaryDataByIDs, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.DeleteBinaryDataByIDsResponse>( - this, - Invocation.method( - #deleteBinaryDataByIDs, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.DeleteBinaryDataByIDsResponse>( - this, - Invocation.method( - #deleteBinaryDataByIDs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.DeleteBinaryDataByIDsResponse>); + Invocation.method( + #deleteBinaryDataByIDs, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i15.DeleteBinaryDataByIDsResponse>( + this, + Invocation.method( + #deleteBinaryDataByIDs, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.DeleteBinaryDataByIDsResponse>( + this, + Invocation.method( + #deleteBinaryDataByIDs, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.DeleteBinaryDataByIDsResponse>); @override _i4.ResponseFuture<_i15.AddTagsToBinaryDataByIDsResponse> - addTagsToBinaryDataByIDs( + addTagsToBinaryDataByIDs( _i15.AddTagsToBinaryDataByIDsRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #addTagsToBinaryDataByIDs, [request], @@ -4306,31 +3918,32 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { ), returnValue: _FakeResponseFuture_2<_i15.AddTagsToBinaryDataByIDsResponse>( - this, - Invocation.method( - #addTagsToBinaryDataByIDs, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #addTagsToBinaryDataByIDs, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i15.AddTagsToBinaryDataByIDsResponse>( - this, - Invocation.method( - #addTagsToBinaryDataByIDs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.AddTagsToBinaryDataByIDsResponse>); + this, + Invocation.method( + #addTagsToBinaryDataByIDs, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.AddTagsToBinaryDataByIDsResponse>); @override _i4.ResponseFuture<_i15.AddTagsToBinaryDataByFilterResponse> - addTagsToBinaryDataByFilter( + addTagsToBinaryDataByFilter( _i15.AddTagsToBinaryDataByFilterRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #addTagsToBinaryDataByFilter, [request], @@ -4338,70 +3951,75 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { ), returnValue: _FakeResponseFuture_2<_i15.AddTagsToBinaryDataByFilterResponse>( + this, + Invocation.method( + #addTagsToBinaryDataByFilter, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.AddTagsToBinaryDataByFilterResponse>( + this, + Invocation.method( + #addTagsToBinaryDataByFilter, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.AddTagsToBinaryDataByFilterResponse>); + + @override + _i4.ResponseFuture<_i15.RemoveTagsFromBinaryDataByIDsResponse> + removeTagsFromBinaryDataByIDs( + _i15.RemoveTagsFromBinaryDataByIDsRequest? request, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method( + #removeTagsFromBinaryDataByIDs, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2< + _i15.RemoveTagsFromBinaryDataByIDsResponse + >( this, Invocation.method( - #addTagsToBinaryDataByFilter, + #removeTagsFromBinaryDataByIDs, [request], {#options: options}, ), ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.AddTagsToBinaryDataByFilterResponse>( + returnValueForMissingStub: _FakeResponseFuture_2< + _i15.RemoveTagsFromBinaryDataByIDsResponse + >( this, Invocation.method( - #addTagsToBinaryDataByFilter, + #removeTagsFromBinaryDataByIDs, [request], {#options: options}, ), ), - ) as _i4.ResponseFuture<_i15.AddTagsToBinaryDataByFilterResponse>); - - @override - _i4.ResponseFuture< - _i15.RemoveTagsFromBinaryDataByIDsResponse> removeTagsFromBinaryDataByIDs( - _i15.RemoveTagsFromBinaryDataByIDsRequest? request, { - _i3.CallOptions? options, - }) => - (super.noSuchMethod( - Invocation.method( - #removeTagsFromBinaryDataByIDs, - [request], - {#options: options}, - ), - returnValue: - _FakeResponseFuture_2<_i15.RemoveTagsFromBinaryDataByIDsResponse>( - this, - Invocation.method( - #removeTagsFromBinaryDataByIDs, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.RemoveTagsFromBinaryDataByIDsResponse>( - this, - Invocation.method( - #removeTagsFromBinaryDataByIDs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.RemoveTagsFromBinaryDataByIDsResponse>); + ) + as _i4.ResponseFuture<_i15.RemoveTagsFromBinaryDataByIDsResponse>); @override _i4.ResponseFuture<_i15.RemoveTagsFromBinaryDataByFilterResponse> - removeTagsFromBinaryDataByFilter( + removeTagsFromBinaryDataByFilter( _i15.RemoveTagsFromBinaryDataByFilterRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #removeTagsFromBinaryDataByFilter, [request], {#options: options}, ), returnValue: _FakeResponseFuture_2< - _i15.RemoveTagsFromBinaryDataByFilterResponse>( + _i15.RemoveTagsFromBinaryDataByFilterResponse + >( this, Invocation.method( #removeTagsFromBinaryDataByFilter, @@ -4410,7 +4028,8 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { ), ), returnValueForMissingStub: _FakeResponseFuture_2< - _i15.RemoveTagsFromBinaryDataByFilterResponse>( + _i15.RemoveTagsFromBinaryDataByFilterResponse + >( this, Invocation.method( #removeTagsFromBinaryDataByFilter, @@ -4418,8 +4037,8 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { {#options: options}, ), ), - ) as _i4 - .ResponseFuture<_i15.RemoveTagsFromBinaryDataByFilterResponse>); + ) + as _i4.ResponseFuture<_i15.RemoveTagsFromBinaryDataByFilterResponse>); @override _i4.ResponseFuture<_i15.TagsByFilterResponse> tagsByFilter( @@ -4427,37 +4046,30 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #tagsByFilter, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.TagsByFilterResponse>( - this, - Invocation.method( - #tagsByFilter, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.TagsByFilterResponse>( - this, - Invocation.method( - #tagsByFilter, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.TagsByFilterResponse>); + Invocation.method(#tagsByFilter, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i15.TagsByFilterResponse>( + this, + Invocation.method(#tagsByFilter, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.TagsByFilterResponse>( + this, + Invocation.method( + #tagsByFilter, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.TagsByFilterResponse>); @override _i4.ResponseFuture<_i15.AddBoundingBoxToImageByIDResponse> - addBoundingBoxToImageByID( + addBoundingBoxToImageByID( _i15.AddBoundingBoxToImageByIDRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #addBoundingBoxToImageByID, [request], @@ -4465,64 +4077,67 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { ), returnValue: _FakeResponseFuture_2<_i15.AddBoundingBoxToImageByIDResponse>( + this, + Invocation.method( + #addBoundingBoxToImageByID, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.AddBoundingBoxToImageByIDResponse>( + this, + Invocation.method( + #addBoundingBoxToImageByID, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.AddBoundingBoxToImageByIDResponse>); + + @override + _i4.ResponseFuture<_i15.RemoveBoundingBoxFromImageByIDResponse> + removeBoundingBoxFromImageByID( + _i15.RemoveBoundingBoxFromImageByIDRequest? request, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method( + #removeBoundingBoxFromImageByID, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2< + _i15.RemoveBoundingBoxFromImageByIDResponse + >( this, Invocation.method( - #addBoundingBoxToImageByID, + #removeBoundingBoxFromImageByID, [request], {#options: options}, ), ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.AddBoundingBoxToImageByIDResponse>( + returnValueForMissingStub: _FakeResponseFuture_2< + _i15.RemoveBoundingBoxFromImageByIDResponse + >( this, Invocation.method( - #addBoundingBoxToImageByID, + #removeBoundingBoxFromImageByID, [request], {#options: options}, ), ), - ) as _i4.ResponseFuture<_i15.AddBoundingBoxToImageByIDResponse>); - - @override - _i4.ResponseFuture< - _i15 - .RemoveBoundingBoxFromImageByIDResponse> removeBoundingBoxFromImageByID( - _i15.RemoveBoundingBoxFromImageByIDRequest? request, { - _i3.CallOptions? options, - }) => - (super.noSuchMethod( - Invocation.method( - #removeBoundingBoxFromImageByID, - [request], - {#options: options}, - ), - returnValue: - _FakeResponseFuture_2<_i15.RemoveBoundingBoxFromImageByIDResponse>( - this, - Invocation.method( - #removeBoundingBoxFromImageByID, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.RemoveBoundingBoxFromImageByIDResponse>( - this, - Invocation.method( - #removeBoundingBoxFromImageByID, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.RemoveBoundingBoxFromImageByIDResponse>); + ) + as _i4.ResponseFuture<_i15.RemoveBoundingBoxFromImageByIDResponse>); @override _i4.ResponseFuture<_i15.BoundingBoxLabelsByFilterResponse> - boundingBoxLabelsByFilter( + boundingBoxLabelsByFilter( _i15.BoundingBoxLabelsByFilterRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #boundingBoxLabelsByFilter, [request], @@ -4530,23 +4145,24 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { ), returnValue: _FakeResponseFuture_2<_i15.BoundingBoxLabelsByFilterResponse>( - this, - Invocation.method( - #boundingBoxLabelsByFilter, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #boundingBoxLabelsByFilter, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i15.BoundingBoxLabelsByFilterResponse>( - this, - Invocation.method( - #boundingBoxLabelsByFilter, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.BoundingBoxLabelsByFilterResponse>); + this, + Invocation.method( + #boundingBoxLabelsByFilter, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.BoundingBoxLabelsByFilterResponse>); @override _i4.ResponseFuture<_i15.UpdateBoundingBoxResponse> updateBoundingBox( @@ -4554,29 +4170,30 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #updateBoundingBox, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.UpdateBoundingBoxResponse>( - this, - Invocation.method( - #updateBoundingBox, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.UpdateBoundingBoxResponse>( - this, - Invocation.method( - #updateBoundingBox, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.UpdateBoundingBoxResponse>); + Invocation.method( + #updateBoundingBox, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i15.UpdateBoundingBoxResponse>( + this, + Invocation.method( + #updateBoundingBox, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.UpdateBoundingBoxResponse>( + this, + Invocation.method( + #updateBoundingBox, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.UpdateBoundingBoxResponse>); @override _i4.ResponseFuture<_i15.GetDatabaseConnectionResponse> getDatabaseConnection( @@ -4584,29 +4201,31 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getDatabaseConnection, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.GetDatabaseConnectionResponse>( - this, - Invocation.method( - #getDatabaseConnection, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.GetDatabaseConnectionResponse>( - this, - Invocation.method( - #getDatabaseConnection, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.GetDatabaseConnectionResponse>); + Invocation.method( + #getDatabaseConnection, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i15.GetDatabaseConnectionResponse>( + this, + Invocation.method( + #getDatabaseConnection, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.GetDatabaseConnectionResponse>( + this, + Invocation.method( + #getDatabaseConnection, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.GetDatabaseConnectionResponse>); @override _i4.ResponseFuture<_i15.ConfigureDatabaseUserResponse> configureDatabaseUser( @@ -4614,37 +4233,39 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #configureDatabaseUser, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i15.ConfigureDatabaseUserResponse>( - this, - Invocation.method( - #configureDatabaseUser, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i15.ConfigureDatabaseUserResponse>( - this, - Invocation.method( - #configureDatabaseUser, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.ConfigureDatabaseUserResponse>); + Invocation.method( + #configureDatabaseUser, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i15.ConfigureDatabaseUserResponse>( + this, + Invocation.method( + #configureDatabaseUser, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i15.ConfigureDatabaseUserResponse>( + this, + Invocation.method( + #configureDatabaseUser, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.ConfigureDatabaseUserResponse>); @override _i4.ResponseFuture<_i15.AddBinaryDataToDatasetByIDsResponse> - addBinaryDataToDatasetByIDs( + addBinaryDataToDatasetByIDs( _i15.AddBinaryDataToDatasetByIDsRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #addBinaryDataToDatasetByIDs, [request], @@ -4652,38 +4273,40 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { ), returnValue: _FakeResponseFuture_2<_i15.AddBinaryDataToDatasetByIDsResponse>( - this, - Invocation.method( - #addBinaryDataToDatasetByIDs, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #addBinaryDataToDatasetByIDs, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i15.AddBinaryDataToDatasetByIDsResponse>( - this, - Invocation.method( - #addBinaryDataToDatasetByIDs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i15.AddBinaryDataToDatasetByIDsResponse>); + this, + Invocation.method( + #addBinaryDataToDatasetByIDs, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i15.AddBinaryDataToDatasetByIDsResponse>); @override _i4.ResponseFuture<_i15.RemoveBinaryDataFromDatasetByIDsResponse> - removeBinaryDataFromDatasetByIDs( + removeBinaryDataFromDatasetByIDs( _i15.RemoveBinaryDataFromDatasetByIDsRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #removeBinaryDataFromDatasetByIDs, [request], {#options: options}, ), returnValue: _FakeResponseFuture_2< - _i15.RemoveBinaryDataFromDatasetByIDsResponse>( + _i15.RemoveBinaryDataFromDatasetByIDsResponse + >( this, Invocation.method( #removeBinaryDataFromDatasetByIDs, @@ -4692,7 +4315,8 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { ), ), returnValueForMissingStub: _FakeResponseFuture_2< - _i15.RemoveBinaryDataFromDatasetByIDsResponse>( + _i15.RemoveBinaryDataFromDatasetByIDsResponse + >( this, Invocation.method( #removeBinaryDataFromDatasetByIDs, @@ -4700,8 +4324,8 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { {#options: options}, ), ), - ) as _i4 - .ResponseFuture<_i15.RemoveBinaryDataFromDatasetByIDsResponse>); + ) + as _i4.ResponseFuture<_i15.RemoveBinaryDataFromDatasetByIDsResponse>); @override _i3.ClientCall $createCall( @@ -4710,37 +4334,29 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i3.ClientCall); + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); @override _i4.ResponseFuture $createUnaryCall( @@ -4749,37 +4365,29 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture); + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); @override _i4.ResponseStream $createStreamingCall( @@ -4788,37 +4396,29 @@ class MockDataServiceClient extends _i1.Mock implements _i14.DataServiceClient { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseStream); + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); } /// A class which mocks [ProvisioningServiceClient]. @@ -4832,29 +4432,31 @@ class MockProvisioningServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getSmartMachineStatus, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i17.GetSmartMachineStatusResponse>( - this, - Invocation.method( - #getSmartMachineStatus, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i17.GetSmartMachineStatusResponse>( - this, - Invocation.method( - #getSmartMachineStatus, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i17.GetSmartMachineStatusResponse>); + Invocation.method( + #getSmartMachineStatus, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i17.GetSmartMachineStatusResponse>( + this, + Invocation.method( + #getSmartMachineStatus, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i17.GetSmartMachineStatusResponse>( + this, + Invocation.method( + #getSmartMachineStatus, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i17.GetSmartMachineStatusResponse>); @override _i4.ResponseFuture<_i17.SetNetworkCredentialsResponse> setNetworkCredentials( @@ -4862,37 +4464,39 @@ class MockProvisioningServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #setNetworkCredentials, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i17.SetNetworkCredentialsResponse>( - this, - Invocation.method( - #setNetworkCredentials, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i17.SetNetworkCredentialsResponse>( - this, - Invocation.method( - #setNetworkCredentials, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i17.SetNetworkCredentialsResponse>); + Invocation.method( + #setNetworkCredentials, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i17.SetNetworkCredentialsResponse>( + this, + Invocation.method( + #setNetworkCredentials, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i17.SetNetworkCredentialsResponse>( + this, + Invocation.method( + #setNetworkCredentials, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i17.SetNetworkCredentialsResponse>); @override _i4.ResponseFuture<_i17.SetSmartMachineCredentialsResponse> - setSmartMachineCredentials( + setSmartMachineCredentials( _i17.SetSmartMachineCredentialsRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #setSmartMachineCredentials, [request], @@ -4900,23 +4504,24 @@ class MockProvisioningServiceClient extends _i1.Mock ), returnValue: _FakeResponseFuture_2<_i17.SetSmartMachineCredentialsResponse>( - this, - Invocation.method( - #setSmartMachineCredentials, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #setSmartMachineCredentials, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i17.SetSmartMachineCredentialsResponse>( - this, - Invocation.method( - #setSmartMachineCredentials, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i17.SetSmartMachineCredentialsResponse>); + this, + Invocation.method( + #setSmartMachineCredentials, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i17.SetSmartMachineCredentialsResponse>); @override _i4.ResponseFuture<_i17.GetNetworkListResponse> getNetworkList( @@ -4924,29 +4529,26 @@ class MockProvisioningServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getNetworkList, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i17.GetNetworkListResponse>( - this, - Invocation.method( - #getNetworkList, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i17.GetNetworkListResponse>( - this, - Invocation.method( - #getNetworkList, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i17.GetNetworkListResponse>); + Invocation.method(#getNetworkList, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i17.GetNetworkListResponse>( + this, + Invocation.method( + #getNetworkList, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i17.GetNetworkListResponse>( + this, + Invocation.method( + #getNetworkList, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i17.GetNetworkListResponse>); @override _i3.ClientCall $createCall( @@ -4955,37 +4557,29 @@ class MockProvisioningServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i3.ClientCall); + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); @override _i4.ResponseFuture $createUnaryCall( @@ -4994,37 +4588,29 @@ class MockProvisioningServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture); + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); @override _i4.ResponseStream $createStreamingCall( @@ -5033,37 +4619,29 @@ class MockProvisioningServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseStream); + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); } /// A class which mocks [VisionServiceClient]. @@ -5073,11 +4651,11 @@ class MockVisionServiceClient extends _i1.Mock implements _i18.VisionServiceClient { @override _i4.ResponseFuture<_i19.GetDetectionsFromCameraResponse> - getDetectionsFromCamera( + getDetectionsFromCamera( _i19.GetDetectionsFromCameraRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #getDetectionsFromCamera, [request], @@ -5085,23 +4663,24 @@ class MockVisionServiceClient extends _i1.Mock ), returnValue: _FakeResponseFuture_2<_i19.GetDetectionsFromCameraResponse>( - this, - Invocation.method( - #getDetectionsFromCamera, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #getDetectionsFromCamera, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i19.GetDetectionsFromCameraResponse>( - this, - Invocation.method( - #getDetectionsFromCamera, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i19.GetDetectionsFromCameraResponse>); + this, + Invocation.method( + #getDetectionsFromCamera, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i19.GetDetectionsFromCameraResponse>); @override _i4.ResponseFuture<_i19.GetDetectionsResponse> getDetections( @@ -5109,61 +4688,57 @@ class MockVisionServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getDetections, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i19.GetDetectionsResponse>( - this, - Invocation.method( - #getDetections, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i19.GetDetectionsResponse>( - this, - Invocation.method( - #getDetections, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i19.GetDetectionsResponse>); - - @override - _i4.ResponseFuture< - _i19.GetClassificationsFromCameraResponse> getClassificationsFromCamera( + Invocation.method(#getDetections, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i19.GetDetectionsResponse>( + this, + Invocation.method(#getDetections, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i19.GetDetectionsResponse>( + this, + Invocation.method( + #getDetections, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i19.GetDetectionsResponse>); + + @override + _i4.ResponseFuture<_i19.GetClassificationsFromCameraResponse> + getClassificationsFromCamera( _i19.GetClassificationsFromCameraRequest? request, { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getClassificationsFromCamera, - [request], - {#options: options}, - ), - returnValue: - _FakeResponseFuture_2<_i19.GetClassificationsFromCameraResponse>( - this, - Invocation.method( - #getClassificationsFromCamera, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i19.GetClassificationsFromCameraResponse>( - this, - Invocation.method( - #getClassificationsFromCamera, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i19.GetClassificationsFromCameraResponse>); + Invocation.method( + #getClassificationsFromCamera, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2< + _i19.GetClassificationsFromCameraResponse + >( + this, + Invocation.method( + #getClassificationsFromCamera, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2< + _i19.GetClassificationsFromCameraResponse + >( + this, + Invocation.method( + #getClassificationsFromCamera, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i19.GetClassificationsFromCameraResponse>); @override _i4.ResponseFuture<_i19.GetClassificationsResponse> getClassifications( @@ -5171,29 +4746,30 @@ class MockVisionServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getClassifications, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i19.GetClassificationsResponse>( - this, - Invocation.method( - #getClassifications, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i19.GetClassificationsResponse>( - this, - Invocation.method( - #getClassifications, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i19.GetClassificationsResponse>); + Invocation.method( + #getClassifications, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i19.GetClassificationsResponse>( + this, + Invocation.method( + #getClassifications, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i19.GetClassificationsResponse>( + this, + Invocation.method( + #getClassifications, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i19.GetClassificationsResponse>); @override _i4.ResponseFuture<_i19.GetObjectPointCloudsResponse> getObjectPointClouds( @@ -5201,29 +4777,31 @@ class MockVisionServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getObjectPointClouds, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i19.GetObjectPointCloudsResponse>( - this, - Invocation.method( - #getObjectPointClouds, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i19.GetObjectPointCloudsResponse>( - this, - Invocation.method( - #getObjectPointClouds, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i19.GetObjectPointCloudsResponse>); + Invocation.method( + #getObjectPointClouds, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i19.GetObjectPointCloudsResponse>( + this, + Invocation.method( + #getObjectPointClouds, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i19.GetObjectPointCloudsResponse>( + this, + Invocation.method( + #getObjectPointClouds, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i19.GetObjectPointCloudsResponse>); @override _i4.ResponseFuture<_i19.GetPropertiesResponse> getProperties( @@ -5231,29 +4809,22 @@ class MockVisionServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getProperties, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i19.GetPropertiesResponse>( - this, - Invocation.method( - #getProperties, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i19.GetPropertiesResponse>( - this, - Invocation.method( - #getProperties, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i19.GetPropertiesResponse>); + Invocation.method(#getProperties, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i19.GetPropertiesResponse>( + this, + Invocation.method(#getProperties, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i19.GetPropertiesResponse>( + this, + Invocation.method( + #getProperties, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i19.GetPropertiesResponse>); @override _i4.ResponseFuture<_i19.CaptureAllFromCameraResponse> captureAllFromCamera( @@ -5261,29 +4832,31 @@ class MockVisionServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #captureAllFromCamera, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i19.CaptureAllFromCameraResponse>( - this, - Invocation.method( - #captureAllFromCamera, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i19.CaptureAllFromCameraResponse>( - this, - Invocation.method( - #captureAllFromCamera, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i19.CaptureAllFromCameraResponse>); + Invocation.method( + #captureAllFromCamera, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i19.CaptureAllFromCameraResponse>( + this, + Invocation.method( + #captureAllFromCamera, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i19.CaptureAllFromCameraResponse>( + this, + Invocation.method( + #captureAllFromCamera, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i19.CaptureAllFromCameraResponse>); @override _i4.ResponseFuture<_i20.DoCommandResponse> doCommand( @@ -5291,68 +4864,49 @@ class MockVisionServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #doCommand, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i20.DoCommandResponse>( - this, - Invocation.method( - #doCommand, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i20.DoCommandResponse>( - this, - Invocation.method( - #doCommand, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i20.DoCommandResponse>); - - @override + Invocation.method(#doCommand, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i20.DoCommandResponse>( + this, + Invocation.method(#doCommand, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i20.DoCommandResponse>( + this, + Invocation.method(#doCommand, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i20.DoCommandResponse>); + + @override _i3.ClientCall $createCall( _i7.ClientMethod? method, _i6.Stream? requests, { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i3.ClientCall); + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); @override _i4.ResponseFuture $createUnaryCall( @@ -5361,37 +4915,29 @@ class MockVisionServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture); + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); @override _i4.ResponseStream $createStreamingCall( @@ -5400,37 +4946,29 @@ class MockVisionServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseStream); + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); } /// A class which mocks [BillingServiceClient]. @@ -5444,37 +4982,39 @@ class MockBillingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getCurrentMonthUsage, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i22.GetCurrentMonthUsageResponse>( - this, - Invocation.method( - #getCurrentMonthUsage, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i22.GetCurrentMonthUsageResponse>( - this, - Invocation.method( - #getCurrentMonthUsage, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i22.GetCurrentMonthUsageResponse>); + Invocation.method( + #getCurrentMonthUsage, + [request], + {#options: options}, + ), + returnValue: + _FakeResponseFuture_2<_i22.GetCurrentMonthUsageResponse>( + this, + Invocation.method( + #getCurrentMonthUsage, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i22.GetCurrentMonthUsageResponse>( + this, + Invocation.method( + #getCurrentMonthUsage, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i22.GetCurrentMonthUsageResponse>); @override _i4.ResponseFuture<_i22.GetOrgBillingInformationResponse> - getOrgBillingInformation( + getOrgBillingInformation( _i22.GetOrgBillingInformationRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #getOrgBillingInformation, [request], @@ -5482,23 +5022,24 @@ class MockBillingServiceClient extends _i1.Mock ), returnValue: _FakeResponseFuture_2<_i22.GetOrgBillingInformationResponse>( - this, - Invocation.method( - #getOrgBillingInformation, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #getOrgBillingInformation, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i22.GetOrgBillingInformationResponse>( - this, - Invocation.method( - #getOrgBillingInformation, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i22.GetOrgBillingInformationResponse>); + this, + Invocation.method( + #getOrgBillingInformation, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i22.GetOrgBillingInformationResponse>); @override _i4.ResponseFuture<_i22.GetInvoicesSummaryResponse> getInvoicesSummary( @@ -5506,29 +5047,30 @@ class MockBillingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getInvoicesSummary, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i22.GetInvoicesSummaryResponse>( - this, - Invocation.method( - #getInvoicesSummary, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i22.GetInvoicesSummaryResponse>( - this, - Invocation.method( - #getInvoicesSummary, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i22.GetInvoicesSummaryResponse>); + Invocation.method( + #getInvoicesSummary, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i22.GetInvoicesSummaryResponse>( + this, + Invocation.method( + #getInvoicesSummary, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i22.GetInvoicesSummaryResponse>( + this, + Invocation.method( + #getInvoicesSummary, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i22.GetInvoicesSummaryResponse>); @override _i4.ResponseStream<_i22.GetInvoicePdfResponse> getInvoicePdf( @@ -5536,37 +5078,30 @@ class MockBillingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getInvoicePdf, - [request], - {#options: options}, - ), - returnValue: _FakeResponseStream_3<_i22.GetInvoicePdfResponse>( - this, - Invocation.method( - #getInvoicePdf, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseStream_3<_i22.GetInvoicePdfResponse>( - this, - Invocation.method( - #getInvoicePdf, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseStream<_i22.GetInvoicePdfResponse>); + Invocation.method(#getInvoicePdf, [request], {#options: options}), + returnValue: _FakeResponseStream_3<_i22.GetInvoicePdfResponse>( + this, + Invocation.method(#getInvoicePdf, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseStream_3<_i22.GetInvoicePdfResponse>( + this, + Invocation.method( + #getInvoicePdf, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream<_i22.GetInvoicePdfResponse>); @override _i4.ResponseFuture<_i22.SendPaymentRequiredEmailResponse> - sendPaymentRequiredEmail( + sendPaymentRequiredEmail( _i22.SendPaymentRequiredEmailRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #sendPaymentRequiredEmail, [request], @@ -5574,23 +5109,24 @@ class MockBillingServiceClient extends _i1.Mock ), returnValue: _FakeResponseFuture_2<_i22.SendPaymentRequiredEmailResponse>( - this, - Invocation.method( - #sendPaymentRequiredEmail, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #sendPaymentRequiredEmail, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i22.SendPaymentRequiredEmailResponse>( - this, - Invocation.method( - #sendPaymentRequiredEmail, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i22.SendPaymentRequiredEmailResponse>); + this, + Invocation.method( + #sendPaymentRequiredEmail, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i22.SendPaymentRequiredEmailResponse>); @override _i3.ClientCall $createCall( @@ -5599,37 +5135,29 @@ class MockBillingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i3.ClientCall); + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); @override _i4.ResponseFuture $createUnaryCall( @@ -5638,37 +5166,29 @@ class MockBillingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture); + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); @override _i4.ResponseStream $createStreamingCall( @@ -5677,37 +5197,29 @@ class MockBillingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseStream); + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); } /// A class which mocks [MLTrainingServiceClient]. @@ -5721,37 +5233,38 @@ class MockMLTrainingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #submitTrainingJob, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i24.SubmitTrainingJobResponse>( - this, - Invocation.method( - #submitTrainingJob, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i24.SubmitTrainingJobResponse>( - this, - Invocation.method( - #submitTrainingJob, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i24.SubmitTrainingJobResponse>); + Invocation.method( + #submitTrainingJob, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i24.SubmitTrainingJobResponse>( + this, + Invocation.method( + #submitTrainingJob, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i24.SubmitTrainingJobResponse>( + this, + Invocation.method( + #submitTrainingJob, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i24.SubmitTrainingJobResponse>); @override _i4.ResponseFuture<_i24.SubmitCustomTrainingJobResponse> - submitCustomTrainingJob( + submitCustomTrainingJob( _i24.SubmitCustomTrainingJobRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #submitCustomTrainingJob, [request], @@ -5759,23 +5272,24 @@ class MockMLTrainingServiceClient extends _i1.Mock ), returnValue: _FakeResponseFuture_2<_i24.SubmitCustomTrainingJobResponse>( - this, - Invocation.method( - #submitCustomTrainingJob, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #submitCustomTrainingJob, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i24.SubmitCustomTrainingJobResponse>( - this, - Invocation.method( - #submitCustomTrainingJob, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i24.SubmitCustomTrainingJobResponse>); + this, + Invocation.method( + #submitCustomTrainingJob, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i24.SubmitCustomTrainingJobResponse>); @override _i4.ResponseFuture<_i24.GetTrainingJobResponse> getTrainingJob( @@ -5783,29 +5297,26 @@ class MockMLTrainingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getTrainingJob, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i24.GetTrainingJobResponse>( - this, - Invocation.method( - #getTrainingJob, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i24.GetTrainingJobResponse>( - this, - Invocation.method( - #getTrainingJob, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i24.GetTrainingJobResponse>); + Invocation.method(#getTrainingJob, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i24.GetTrainingJobResponse>( + this, + Invocation.method( + #getTrainingJob, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i24.GetTrainingJobResponse>( + this, + Invocation.method( + #getTrainingJob, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i24.GetTrainingJobResponse>); @override _i4.ResponseFuture<_i24.ListTrainingJobsResponse> listTrainingJobs( @@ -5813,29 +5324,30 @@ class MockMLTrainingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listTrainingJobs, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i24.ListTrainingJobsResponse>( - this, - Invocation.method( - #listTrainingJobs, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i24.ListTrainingJobsResponse>( - this, - Invocation.method( - #listTrainingJobs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i24.ListTrainingJobsResponse>); + Invocation.method( + #listTrainingJobs, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i24.ListTrainingJobsResponse>( + this, + Invocation.method( + #listTrainingJobs, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i24.ListTrainingJobsResponse>( + this, + Invocation.method( + #listTrainingJobs, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i24.ListTrainingJobsResponse>); @override _i4.ResponseFuture<_i24.CancelTrainingJobResponse> cancelTrainingJob( @@ -5843,37 +5355,38 @@ class MockMLTrainingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #cancelTrainingJob, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i24.CancelTrainingJobResponse>( - this, - Invocation.method( - #cancelTrainingJob, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i24.CancelTrainingJobResponse>( - this, - Invocation.method( - #cancelTrainingJob, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i24.CancelTrainingJobResponse>); + Invocation.method( + #cancelTrainingJob, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i24.CancelTrainingJobResponse>( + this, + Invocation.method( + #cancelTrainingJob, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i24.CancelTrainingJobResponse>( + this, + Invocation.method( + #cancelTrainingJob, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i24.CancelTrainingJobResponse>); @override _i4.ResponseFuture<_i24.DeleteCompletedTrainingJobResponse> - deleteCompletedTrainingJob( + deleteCompletedTrainingJob( _i24.DeleteCompletedTrainingJobRequest? request, { _i3.CallOptions? options, }) => - (super.noSuchMethod( + (super.noSuchMethod( Invocation.method( #deleteCompletedTrainingJob, [request], @@ -5881,23 +5394,24 @@ class MockMLTrainingServiceClient extends _i1.Mock ), returnValue: _FakeResponseFuture_2<_i24.DeleteCompletedTrainingJobResponse>( - this, - Invocation.method( - #deleteCompletedTrainingJob, - [request], - {#options: options}, - ), - ), + this, + Invocation.method( + #deleteCompletedTrainingJob, + [request], + {#options: options}, + ), + ), returnValueForMissingStub: _FakeResponseFuture_2<_i24.DeleteCompletedTrainingJobResponse>( - this, - Invocation.method( - #deleteCompletedTrainingJob, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i24.DeleteCompletedTrainingJobResponse>); + this, + Invocation.method( + #deleteCompletedTrainingJob, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i24.DeleteCompletedTrainingJobResponse>); @override _i4.ResponseFuture<_i24.GetTrainingJobLogsResponse> getTrainingJobLogs( @@ -5905,29 +5419,30 @@ class MockMLTrainingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #getTrainingJobLogs, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i24.GetTrainingJobLogsResponse>( - this, - Invocation.method( - #getTrainingJobLogs, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i24.GetTrainingJobLogsResponse>( - this, - Invocation.method( - #getTrainingJobLogs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i24.GetTrainingJobLogsResponse>); + Invocation.method( + #getTrainingJobLogs, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i24.GetTrainingJobLogsResponse>( + this, + Invocation.method( + #getTrainingJobLogs, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i24.GetTrainingJobLogsResponse>( + this, + Invocation.method( + #getTrainingJobLogs, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i24.GetTrainingJobLogsResponse>); @override _i3.ClientCall $createCall( @@ -5936,37 +5451,29 @@ class MockMLTrainingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i3.ClientCall); + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); @override _i4.ResponseFuture $createUnaryCall( @@ -5975,37 +5482,29 @@ class MockMLTrainingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture); + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); @override _i4.ResponseStream $createStreamingCall( @@ -6014,37 +5513,29 @@ class MockMLTrainingServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseStream); + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); } /// A class which mocks [DatasetServiceClient]. @@ -6058,29 +5549,22 @@ class MockDatasetServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #createDataset, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i26.CreateDatasetResponse>( - this, - Invocation.method( - #createDataset, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i26.CreateDatasetResponse>( - this, - Invocation.method( - #createDataset, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i26.CreateDatasetResponse>); + Invocation.method(#createDataset, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i26.CreateDatasetResponse>( + this, + Invocation.method(#createDataset, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i26.CreateDatasetResponse>( + this, + Invocation.method( + #createDataset, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i26.CreateDatasetResponse>); @override _i4.ResponseFuture<_i26.DeleteDatasetResponse> deleteDataset( @@ -6088,29 +5572,22 @@ class MockDatasetServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #deleteDataset, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i26.DeleteDatasetResponse>( - this, - Invocation.method( - #deleteDataset, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i26.DeleteDatasetResponse>( - this, - Invocation.method( - #deleteDataset, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i26.DeleteDatasetResponse>); + Invocation.method(#deleteDataset, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i26.DeleteDatasetResponse>( + this, + Invocation.method(#deleteDataset, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i26.DeleteDatasetResponse>( + this, + Invocation.method( + #deleteDataset, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i26.DeleteDatasetResponse>); @override _i4.ResponseFuture<_i26.RenameDatasetResponse> renameDataset( @@ -6118,61 +5595,57 @@ class MockDatasetServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #renameDataset, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i26.RenameDatasetResponse>( - this, - Invocation.method( - #renameDataset, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i26.RenameDatasetResponse>( - this, - Invocation.method( - #renameDataset, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i26.RenameDatasetResponse>); - - @override - _i4.ResponseFuture< - _i26.ListDatasetsByOrganizationIDResponse> listDatasetsByOrganizationID( + Invocation.method(#renameDataset, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i26.RenameDatasetResponse>( + this, + Invocation.method(#renameDataset, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i26.RenameDatasetResponse>( + this, + Invocation.method( + #renameDataset, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i26.RenameDatasetResponse>); + + @override + _i4.ResponseFuture<_i26.ListDatasetsByOrganizationIDResponse> + listDatasetsByOrganizationID( _i26.ListDatasetsByOrganizationIDRequest? request, { _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listDatasetsByOrganizationID, - [request], - {#options: options}, - ), - returnValue: - _FakeResponseFuture_2<_i26.ListDatasetsByOrganizationIDResponse>( - this, - Invocation.method( - #listDatasetsByOrganizationID, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i26.ListDatasetsByOrganizationIDResponse>( - this, - Invocation.method( - #listDatasetsByOrganizationID, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i26.ListDatasetsByOrganizationIDResponse>); + Invocation.method( + #listDatasetsByOrganizationID, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2< + _i26.ListDatasetsByOrganizationIDResponse + >( + this, + Invocation.method( + #listDatasetsByOrganizationID, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2< + _i26.ListDatasetsByOrganizationIDResponse + >( + this, + Invocation.method( + #listDatasetsByOrganizationID, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i26.ListDatasetsByOrganizationIDResponse>); @override _i4.ResponseFuture<_i26.ListDatasetsByIDsResponse> listDatasetsByIDs( @@ -6180,29 +5653,30 @@ class MockDatasetServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #listDatasetsByIDs, - [request], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2<_i26.ListDatasetsByIDsResponse>( - this, - Invocation.method( - #listDatasetsByIDs, - [request], - {#options: options}, - ), - ), - returnValueForMissingStub: - _FakeResponseFuture_2<_i26.ListDatasetsByIDsResponse>( - this, - Invocation.method( - #listDatasetsByIDs, - [request], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture<_i26.ListDatasetsByIDsResponse>); + Invocation.method( + #listDatasetsByIDs, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i26.ListDatasetsByIDsResponse>( + this, + Invocation.method( + #listDatasetsByIDs, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i26.ListDatasetsByIDsResponse>( + this, + Invocation.method( + #listDatasetsByIDs, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i26.ListDatasetsByIDsResponse>); @override _i3.ClientCall $createCall( @@ -6211,37 +5685,29 @@ class MockDatasetServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeClientCall_1( - this, - Invocation.method( - #$createCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i3.ClientCall); + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); @override _i4.ResponseFuture $createUnaryCall( @@ -6250,37 +5716,29 @@ class MockDatasetServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - returnValue: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseFuture_2( - this, - Invocation.method( - #$createUnaryCall, - [ - method, - request, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseFuture); + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); @override _i4.ResponseStream $createStreamingCall( @@ -6289,35 +5747,176 @@ class MockDatasetServiceClient extends _i1.Mock _i3.CallOptions? options, }) => (super.noSuchMethod( - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - returnValue: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - returnValueForMissingStub: _FakeResponseStream_3( - this, - Invocation.method( - #$createStreamingCall, - [ - method, - requests, - ], - {#options: options}, - ), - ), - ) as _i4.ResponseStream); + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); +} + +/// A class which mocks [DiscoveryServiceClient]. +/// +/// See the documentation for Mockito's code generation for more information. +class MockDiscoveryServiceClient extends _i1.Mock + implements _i27.DiscoveryServiceClient { + @override + _i4.ResponseFuture<_i28.DiscoverResourcesResponse> discoverResources( + _i28.DiscoverResourcesRequest? request, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method( + #discoverResources, + [request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2<_i28.DiscoverResourcesResponse>( + this, + Invocation.method( + #discoverResources, + [request], + {#options: options}, + ), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i28.DiscoverResourcesResponse>( + this, + Invocation.method( + #discoverResources, + [request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture<_i28.DiscoverResourcesResponse>); + + @override + _i4.ResponseFuture<_i20.DoCommandResponse> doCommand( + _i20.DoCommandRequest? request, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method(#doCommand, [request], {#options: options}), + returnValue: _FakeResponseFuture_2<_i20.DoCommandResponse>( + this, + Invocation.method(#doCommand, [request], {#options: options}), + ), + returnValueForMissingStub: + _FakeResponseFuture_2<_i20.DoCommandResponse>( + this, + Invocation.method(#doCommand, [request], {#options: options}), + ), + ) + as _i4.ResponseFuture<_i20.DoCommandResponse>); + + @override + _i3.ClientCall $createCall( + _i7.ClientMethod? method, + _i6.Stream? requests, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeClientCall_1( + this, + Invocation.method( + #$createCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i3.ClientCall); + + @override + _i4.ResponseFuture $createUnaryCall( + _i7.ClientMethod? method, + Q? request, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + returnValue: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseFuture_2( + this, + Invocation.method( + #$createUnaryCall, + [method, request], + {#options: options}, + ), + ), + ) + as _i4.ResponseFuture); + + @override + _i4.ResponseStream $createStreamingCall( + _i7.ClientMethod? method, + _i6.Stream? requests, { + _i3.CallOptions? options, + }) => + (super.noSuchMethod( + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + returnValue: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + returnValueForMissingStub: _FakeResponseStream_3( + this, + Invocation.method( + #$createStreamingCall, + [method, requests], + {#options: options}, + ), + ), + ) + as _i4.ResponseStream); } diff --git a/test/unit_test/services/discovery_test.dart b/test/unit_test/services/discovery_test.dart new file mode 100644 index 00000000000..91039e90173 --- /dev/null +++ b/test/unit_test/services/discovery_test.dart @@ -0,0 +1,40 @@ +import 'package:fixnum/fixnum.dart'; +import 'package:flutter_test/flutter_test.dart'; +import 'package:mockito/mockito.dart'; +import 'package:viam_sdk/protos/service/discovery.dart'; +import 'package:viam_sdk/src/gen/common/v1/common.pb.dart'; +import 'package:viam_sdk/src/gen/service/discovery/v1/discovery.pbgrpc.dart'; +import 'package:viam_sdk/viam_sdk.dart'; +import 'package:viam_sdk/src/gen/app/v1/robot.pb.dart'; + +import '../mocks/mock_response_future.dart'; +import '../mocks/service_clients_mocks.mocks.dart'; + +class FakeDiscoveryClient extends DiscoveryClient { + @override + DiscoveryServiceClient get client => _client; + + final MockDiscoveryServiceClient _client; + + FakeDiscoveryClient(super.name, super.channel, this._client); +} + +void main() { + late DiscoveryClient client; + late MockDiscoveryServiceClient serviceClient; + + setUp(() { + serviceClient = MockDiscoveryServiceClient(); + client = FakeDiscoveryClient('discovery', MockClientChannelBase(), serviceClient); + }); + + group('Discovery RPC Client Tests', () { + test('discoverResources', () async { + final expected = [ComponentConfig()]; + when(serviceClient.discoverResources(any)) + .thenAnswer((_) => MockResponseFuture.value(DiscoverResourcesResponse(discoveries: expected))); + final response = await client.discoverResources('discoveryName'); + expect(response, equals(expected)); + }); + }); +}