809 lines
20 KiB
Dart
809 lines
20 KiB
Dart
// Mocks generated by Mockito 5.4.6 from annotations
|
|
// in fotodocumentation/test/testing/test_utils.dart.
|
|
// Do not manually edit this file.
|
|
|
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
|
import 'dart:async' as _i10;
|
|
import 'dart:convert' as _i21;
|
|
import 'dart:typed_data' as _i22;
|
|
import 'dart:ui' as _i8;
|
|
|
|
import 'package:fotodocumentation/controller/base_controller.dart' as _i4;
|
|
import 'package:fotodocumentation/controller/foto_customer_controller.dart'
|
|
as _i12;
|
|
import 'package:fotodocumentation/controller/login_controller.dart' as _i9;
|
|
import 'package:fotodocumentation/controller/picture_controller.dart' as _i14;
|
|
import 'package:fotodocumentation/controller/questionnaire_controller.dart'
|
|
as _i17;
|
|
import 'package:fotodocumentation/controller/questionnaire_customer_controller.dart'
|
|
as _i19;
|
|
import 'package:fotodocumentation/dto/customer_dto.dart' as _i13;
|
|
import 'package:fotodocumentation/dto/jwt_token_pair_dto.dart' as _i11;
|
|
import 'package:fotodocumentation/dto/picture_dto.dart' as _i15;
|
|
import 'package:fotodocumentation/dto/questionnaire_customer_dto.dart' as _i20;
|
|
import 'package:fotodocumentation/dto/questionnaire_dto.dart' as _i18;
|
|
import 'package:fotodocumentation/utils/http_client_utils.dart' as _i3;
|
|
import 'package:fotodocumentation/utils/jwt_token_storage.dart' as _i16;
|
|
import 'package:fotodocumentation/utils/login_credentials.dart' as _i6;
|
|
import 'package:fotodocumentation/utils/url_utils.dart' as _i2;
|
|
import 'package:http/http.dart' as _i5;
|
|
import 'package:mockito/mockito.dart' as _i1;
|
|
import 'package:mockito/src/dummies.dart' as _i7;
|
|
|
|
// ignore_for_file: type=lint
|
|
// ignore_for_file: avoid_redundant_argument_values
|
|
// ignore_for_file: avoid_setters_without_getters
|
|
// ignore_for_file: comment_references
|
|
// ignore_for_file: deprecated_member_use
|
|
// 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
|
|
// ignore_for_file: subtype_of_sealed_class
|
|
// ignore_for_file: invalid_use_of_internal_member
|
|
|
|
class _FakeUrlUtils_0 extends _i1.SmartFake implements _i2.UrlUtils {
|
|
_FakeUrlUtils_0(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeHttpClientUtils_1 extends _i1.SmartFake
|
|
implements _i3.HttpClientUtils {
|
|
_FakeHttpClientUtils_1(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeHeader_2 extends _i1.SmartFake implements _i4.Header {
|
|
_FakeHeader_2(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeException_3 extends _i1.SmartFake implements Exception {
|
|
_FakeException_3(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeResponse_4 extends _i1.SmartFake implements _i5.Response {
|
|
_FakeResponse_4(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
class _FakeStreamedResponse_5 extends _i1.SmartFake
|
|
implements _i5.StreamedResponse {
|
|
_FakeStreamedResponse_5(
|
|
Object parent,
|
|
Invocation parentInvocation,
|
|
) : super(
|
|
parent,
|
|
parentInvocation,
|
|
);
|
|
}
|
|
|
|
/// A class which mocks [LoginCredentials].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockLoginCredentials extends _i1.Mock implements _i6.LoginCredentials {
|
|
MockLoginCredentials() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
String get fullname => (super.noSuchMethod(
|
|
Invocation.getter(#fullname),
|
|
returnValue: _i7.dummyValue<String>(
|
|
this,
|
|
Invocation.getter(#fullname),
|
|
),
|
|
) as String);
|
|
|
|
@override
|
|
bool get isLoggedIn => (super.noSuchMethod(
|
|
Invocation.getter(#isLoggedIn),
|
|
returnValue: false,
|
|
) as bool);
|
|
|
|
@override
|
|
bool get hasListeners => (super.noSuchMethod(
|
|
Invocation.getter(#hasListeners),
|
|
returnValue: false,
|
|
) as bool);
|
|
|
|
@override
|
|
void setLoggedIn(bool? loggedIn) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#setLoggedIn,
|
|
[loggedIn],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void logout() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#logout,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void addListener(_i8.VoidCallback? listener) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#addListener,
|
|
[listener],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void removeListener(_i8.VoidCallback? listener) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#removeListener,
|
|
[listener],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void dispose() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#dispose,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void notifyListeners() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#notifyListeners,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
}
|
|
|
|
/// A class which mocks [LoginController].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockLoginController extends _i1.Mock implements _i9.LoginController {
|
|
MockLoginController() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
_i10.Future<({_i11.JwtTokenPairDto? jwtTokenPairDto})> authenticate(
|
|
String? username,
|
|
String? password,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#authenticate,
|
|
[
|
|
username,
|
|
password,
|
|
],
|
|
),
|
|
returnValue:
|
|
_i10.Future<({_i11.JwtTokenPairDto? jwtTokenPairDto})>.value(
|
|
(jwtTokenPairDto: null)),
|
|
) as _i10.Future<({_i11.JwtTokenPairDto? jwtTokenPairDto})>);
|
|
|
|
@override
|
|
_i10.Future<bool> refreshAccessToken() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#refreshAccessToken,
|
|
[],
|
|
),
|
|
returnValue: _i10.Future<bool>.value(false),
|
|
) as _i10.Future<bool>);
|
|
|
|
@override
|
|
bool isUsingJwtAuth() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#isUsingJwtAuth,
|
|
[],
|
|
),
|
|
returnValue: false,
|
|
) as bool);
|
|
}
|
|
|
|
/// A class which mocks [FotoCustomerController].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockFotoCustomerController extends _i1.Mock
|
|
implements _i12.FotoCustomerController {
|
|
MockFotoCustomerController() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
_i10.Future<List<_i13.CustomerListDto>> getAll(
|
|
String? query,
|
|
String? startsWith,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getAll,
|
|
[
|
|
query,
|
|
startsWith,
|
|
],
|
|
),
|
|
returnValue: _i10.Future<List<_i13.CustomerListDto>>.value(
|
|
<_i13.CustomerListDto>[]),
|
|
) as _i10.Future<List<_i13.CustomerListDto>>);
|
|
|
|
@override
|
|
_i10.Future<_i13.CustomerDto?> get({required int? id}) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#get,
|
|
[],
|
|
{#id: id},
|
|
),
|
|
returnValue: _i10.Future<_i13.CustomerDto?>.value(),
|
|
) as _i10.Future<_i13.CustomerDto?>);
|
|
|
|
@override
|
|
_i10.Future<List<int>> export({
|
|
required int? customerId,
|
|
int? pictureId,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#export,
|
|
[],
|
|
{
|
|
#customerId: customerId,
|
|
#pictureId: pictureId,
|
|
},
|
|
),
|
|
returnValue: _i10.Future<List<int>>.value(<int>[]),
|
|
) as _i10.Future<List<int>>);
|
|
}
|
|
|
|
/// A class which mocks [PictureController].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockPictureController extends _i1.Mock implements _i14.PictureController {
|
|
MockPictureController() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
_i10.Future<bool> delete(_i15.PictureDto? dto) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#delete,
|
|
[dto],
|
|
),
|
|
returnValue: _i10.Future<bool>.value(false),
|
|
) as _i10.Future<bool>);
|
|
|
|
@override
|
|
_i10.Future<bool> updateEvaluation(_i15.PictureDto? dto) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateEvaluation,
|
|
[dto],
|
|
),
|
|
returnValue: _i10.Future<bool>.value(false),
|
|
) as _i10.Future<bool>);
|
|
}
|
|
|
|
/// A class which mocks [JwtTokenStorage].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockJwtTokenStorage extends _i1.Mock implements _i16.JwtTokenStorage {
|
|
MockJwtTokenStorage() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
void saveTokens(
|
|
String? accessToken,
|
|
String? refreshToken,
|
|
) =>
|
|
super.noSuchMethod(
|
|
Invocation.method(
|
|
#saveTokens,
|
|
[
|
|
accessToken,
|
|
refreshToken,
|
|
],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
void clearTokens() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#clearTokens,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
|
|
@override
|
|
bool hasTokens() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#hasTokens,
|
|
[],
|
|
),
|
|
returnValue: false,
|
|
) as bool);
|
|
|
|
@override
|
|
void updateAccessToken(String? accessToken) => super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateAccessToken,
|
|
[accessToken],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
}
|
|
|
|
/// A class which mocks [QuestionnaireController].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockQuestionnaireController extends _i1.Mock
|
|
implements _i17.QuestionnaireController {
|
|
MockQuestionnaireController() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
_i10.Future<bool> delete(_i18.QuestionnaireDto? dto) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#delete,
|
|
[dto],
|
|
),
|
|
returnValue: _i10.Future<bool>.value(false),
|
|
) as _i10.Future<bool>);
|
|
|
|
@override
|
|
_i10.Future<bool> updateEvaluation(_i18.QuestionnaireDto? dto) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#updateEvaluation,
|
|
[dto],
|
|
),
|
|
returnValue: _i10.Future<bool>.value(false),
|
|
) as _i10.Future<bool>);
|
|
}
|
|
|
|
/// A class which mocks [QuestionnaireCustomerControllerImpl].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockQuestionnaireCustomerControllerImpl extends _i1.Mock
|
|
implements _i19.QuestionnaireCustomerControllerImpl {
|
|
MockQuestionnaireCustomerControllerImpl() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
String get path => (super.noSuchMethod(
|
|
Invocation.getter(#path),
|
|
returnValue: _i7.dummyValue<String>(
|
|
this,
|
|
Invocation.getter(#path),
|
|
),
|
|
) as String);
|
|
|
|
@override
|
|
_i2.UrlUtils get uriUtils => (super.noSuchMethod(
|
|
Invocation.getter(#uriUtils),
|
|
returnValue: _FakeUrlUtils_0(
|
|
this,
|
|
Invocation.getter(#uriUtils),
|
|
),
|
|
) as _i2.UrlUtils);
|
|
|
|
@override
|
|
_i3.HttpClientUtils get httpClientUtils => (super.noSuchMethod(
|
|
Invocation.getter(#httpClientUtils),
|
|
returnValue: _FakeHttpClientUtils_1(
|
|
this,
|
|
Invocation.getter(#httpClientUtils),
|
|
),
|
|
) as _i3.HttpClientUtils);
|
|
|
|
@override
|
|
_i10.Future<List<_i20.QuestionnaireCustomerListDto>> getAll(
|
|
String? query,
|
|
String? startsWith,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#getAll,
|
|
[
|
|
query,
|
|
startsWith,
|
|
],
|
|
),
|
|
returnValue: _i10.Future<List<_i20.QuestionnaireCustomerListDto>>.value(
|
|
<_i20.QuestionnaireCustomerListDto>[]),
|
|
) as _i10.Future<List<_i20.QuestionnaireCustomerListDto>>);
|
|
|
|
@override
|
|
_i10.Future<_i20.QuestionnaireCustomerDto?> get({required int? id}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#get,
|
|
[],
|
|
{#id: id},
|
|
),
|
|
returnValue: _i10.Future<_i20.QuestionnaireCustomerDto?>.value(),
|
|
) as _i10.Future<_i20.QuestionnaireCustomerDto?>);
|
|
|
|
@override
|
|
_i10.Future<List<int>> export({
|
|
required int? customerId,
|
|
int? questionnaireId,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#export,
|
|
[],
|
|
{
|
|
#customerId: customerId,
|
|
#questionnaireId: questionnaireId,
|
|
},
|
|
),
|
|
returnValue: _i10.Future<List<int>>.value(<int>[]),
|
|
) as _i10.Future<List<int>>);
|
|
|
|
@override
|
|
_i4.Header getAuthHeader() => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getAuthHeader,
|
|
[],
|
|
),
|
|
returnValue: _FakeHeader_2(
|
|
this,
|
|
Invocation.method(
|
|
#getAuthHeader,
|
|
[],
|
|
),
|
|
),
|
|
) as _i4.Header);
|
|
|
|
@override
|
|
Exception getServerError(_i5.Response? response) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#getServerError,
|
|
[response],
|
|
),
|
|
returnValue: _FakeException_3(
|
|
this,
|
|
Invocation.method(
|
|
#getServerError,
|
|
[response],
|
|
),
|
|
),
|
|
) as Exception);
|
|
|
|
@override
|
|
_i10.Future<List<T>> runGetListWithAuth<T>(
|
|
String? uriStr,
|
|
List<T> Function(dynamic)? convert,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#runGetListWithAuth,
|
|
[
|
|
uriStr,
|
|
convert,
|
|
],
|
|
),
|
|
returnValue: _i10.Future<List<T>>.value(<T>[]),
|
|
) as _i10.Future<List<T>>);
|
|
|
|
@override
|
|
_i10.Future<T?> runGetWithAuth<T>(
|
|
String? uriStr,
|
|
T Function(dynamic)? convert,
|
|
) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#runGetWithAuth,
|
|
[
|
|
uriStr,
|
|
convert,
|
|
],
|
|
),
|
|
returnValue: _i10.Future<T?>.value(),
|
|
) as _i10.Future<T?>);
|
|
|
|
@override
|
|
_i10.Future<List<int>> runGetBytesWithAuth(String? uriStr) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#runGetBytesWithAuth,
|
|
[uriStr],
|
|
),
|
|
returnValue: _i10.Future<List<int>>.value(<int>[]),
|
|
) as _i10.Future<List<int>>);
|
|
|
|
@override
|
|
_i10.Future<bool> runDeleteWithAuth(String? uriStr) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#runDeleteWithAuth,
|
|
[uriStr],
|
|
),
|
|
returnValue: _i10.Future<bool>.value(false),
|
|
) as _i10.Future<bool>);
|
|
|
|
@override
|
|
_i10.Future<bool> runPutWithAuth(String? uriStr) => (super.noSuchMethod(
|
|
Invocation.method(
|
|
#runPutWithAuth,
|
|
[uriStr],
|
|
),
|
|
returnValue: _i10.Future<bool>.value(false),
|
|
) as _i10.Future<bool>);
|
|
}
|
|
|
|
/// A class which mocks [Client].
|
|
///
|
|
/// See the documentation for Mockito's code generation for more information.
|
|
class MockClient extends _i1.Mock implements _i5.Client {
|
|
MockClient() {
|
|
_i1.throwOnMissingStub(this);
|
|
}
|
|
|
|
@override
|
|
_i10.Future<_i5.Response> head(
|
|
Uri? url, {
|
|
Map<String, String>? headers,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#head,
|
|
[url],
|
|
{#headers: headers},
|
|
),
|
|
returnValue: _i10.Future<_i5.Response>.value(_FakeResponse_4(
|
|
this,
|
|
Invocation.method(
|
|
#head,
|
|
[url],
|
|
{#headers: headers},
|
|
),
|
|
)),
|
|
) as _i10.Future<_i5.Response>);
|
|
|
|
@override
|
|
_i10.Future<_i5.Response> get(
|
|
Uri? url, {
|
|
Map<String, String>? headers,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#get,
|
|
[url],
|
|
{#headers: headers},
|
|
),
|
|
returnValue: _i10.Future<_i5.Response>.value(_FakeResponse_4(
|
|
this,
|
|
Invocation.method(
|
|
#get,
|
|
[url],
|
|
{#headers: headers},
|
|
),
|
|
)),
|
|
) as _i10.Future<_i5.Response>);
|
|
|
|
@override
|
|
_i10.Future<_i5.Response> post(
|
|
Uri? url, {
|
|
Map<String, String>? headers,
|
|
Object? body,
|
|
_i21.Encoding? encoding,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#post,
|
|
[url],
|
|
{
|
|
#headers: headers,
|
|
#body: body,
|
|
#encoding: encoding,
|
|
},
|
|
),
|
|
returnValue: _i10.Future<_i5.Response>.value(_FakeResponse_4(
|
|
this,
|
|
Invocation.method(
|
|
#post,
|
|
[url],
|
|
{
|
|
#headers: headers,
|
|
#body: body,
|
|
#encoding: encoding,
|
|
},
|
|
),
|
|
)),
|
|
) as _i10.Future<_i5.Response>);
|
|
|
|
@override
|
|
_i10.Future<_i5.Response> put(
|
|
Uri? url, {
|
|
Map<String, String>? headers,
|
|
Object? body,
|
|
_i21.Encoding? encoding,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#put,
|
|
[url],
|
|
{
|
|
#headers: headers,
|
|
#body: body,
|
|
#encoding: encoding,
|
|
},
|
|
),
|
|
returnValue: _i10.Future<_i5.Response>.value(_FakeResponse_4(
|
|
this,
|
|
Invocation.method(
|
|
#put,
|
|
[url],
|
|
{
|
|
#headers: headers,
|
|
#body: body,
|
|
#encoding: encoding,
|
|
},
|
|
),
|
|
)),
|
|
) as _i10.Future<_i5.Response>);
|
|
|
|
@override
|
|
_i10.Future<_i5.Response> patch(
|
|
Uri? url, {
|
|
Map<String, String>? headers,
|
|
Object? body,
|
|
_i21.Encoding? encoding,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#patch,
|
|
[url],
|
|
{
|
|
#headers: headers,
|
|
#body: body,
|
|
#encoding: encoding,
|
|
},
|
|
),
|
|
returnValue: _i10.Future<_i5.Response>.value(_FakeResponse_4(
|
|
this,
|
|
Invocation.method(
|
|
#patch,
|
|
[url],
|
|
{
|
|
#headers: headers,
|
|
#body: body,
|
|
#encoding: encoding,
|
|
},
|
|
),
|
|
)),
|
|
) as _i10.Future<_i5.Response>);
|
|
|
|
@override
|
|
_i10.Future<_i5.Response> delete(
|
|
Uri? url, {
|
|
Map<String, String>? headers,
|
|
Object? body,
|
|
_i21.Encoding? encoding,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#delete,
|
|
[url],
|
|
{
|
|
#headers: headers,
|
|
#body: body,
|
|
#encoding: encoding,
|
|
},
|
|
),
|
|
returnValue: _i10.Future<_i5.Response>.value(_FakeResponse_4(
|
|
this,
|
|
Invocation.method(
|
|
#delete,
|
|
[url],
|
|
{
|
|
#headers: headers,
|
|
#body: body,
|
|
#encoding: encoding,
|
|
},
|
|
),
|
|
)),
|
|
) as _i10.Future<_i5.Response>);
|
|
|
|
@override
|
|
_i10.Future<String> read(
|
|
Uri? url, {
|
|
Map<String, String>? headers,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#read,
|
|
[url],
|
|
{#headers: headers},
|
|
),
|
|
returnValue: _i10.Future<String>.value(_i7.dummyValue<String>(
|
|
this,
|
|
Invocation.method(
|
|
#read,
|
|
[url],
|
|
{#headers: headers},
|
|
),
|
|
)),
|
|
) as _i10.Future<String>);
|
|
|
|
@override
|
|
_i10.Future<_i22.Uint8List> readBytes(
|
|
Uri? url, {
|
|
Map<String, String>? headers,
|
|
}) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#readBytes,
|
|
[url],
|
|
{#headers: headers},
|
|
),
|
|
returnValue: _i10.Future<_i22.Uint8List>.value(_i22.Uint8List(0)),
|
|
) as _i10.Future<_i22.Uint8List>);
|
|
|
|
@override
|
|
_i10.Future<_i5.StreamedResponse> send(_i5.BaseRequest? request) =>
|
|
(super.noSuchMethod(
|
|
Invocation.method(
|
|
#send,
|
|
[request],
|
|
),
|
|
returnValue:
|
|
_i10.Future<_i5.StreamedResponse>.value(_FakeStreamedResponse_5(
|
|
this,
|
|
Invocation.method(
|
|
#send,
|
|
[request],
|
|
),
|
|
)),
|
|
) as _i10.Future<_i5.StreamedResponse>);
|
|
|
|
@override
|
|
void close() => super.noSuchMethod(
|
|
Invocation.method(
|
|
#close,
|
|
[],
|
|
),
|
|
returnValueForMissingStub: null,
|
|
);
|
|
}
|