diff --git a/lib/l10n/app_ja.arb b/lib/l10n/app_ja.arb index abcbe6feb..a93ce85f7 100644 --- a/lib/l10n/app_ja.arb +++ b/lib/l10n/app_ja.arb @@ -703,6 +703,10 @@ } } }, + + "invalidThemeFormat": "テーマの形式が間違っています", + "duplicatedTheme": "このテーマは既にインストールされています", + "importFromThisFolder": "このフォルダーからインポートする", "exportedFileNotFound": "ここにMiriaの設定ファイルあれへんかったわ", "importCompleted": "インポート終わったで。", @@ -795,6 +799,7 @@ } }, "selectLightOrDarkMode": "ライトモード・ダークモードのつかいわけ", + "manageThemes": "テーマの管理", "reaction": "リアクション", "emojiTapReaction": "ノート内の絵文字タップでリアクションする", "emojiTapReactionDescription": "ノート内の絵文字をタップしてリアクションします。MFMや外部サーバーの絵文字の場合うまく機能しないことがあります。", @@ -806,6 +811,12 @@ "fontFantasy": "フォント ($[font.fantasy 用)", "fontSize": "フォントサイズ", "systemFont": "システム標準", + "installTheme": "テーマのインストール", + "themeCode": "テーマコード", + "install": "インストール", + "installedThemes": "インストールされたテーマ", + "noInstalledThemes": "インストールされたテーマがありません", + "confirmDeleteTheme": "このテーマを削除しますか?", "selectFolder": "フォルダー選択", "importSettings": "設定のインポート", diff --git a/lib/providers.dart b/lib/providers.dart index 9423ebca2..7fa1bb90a 100644 --- a/lib/providers.dart +++ b/lib/providers.dart @@ -4,6 +4,7 @@ import 'package:file/local.dart'; import 'package:flutter/widgets.dart'; import 'package:miria/model/account.dart'; import 'package:miria/model/acct.dart'; +import 'package:miria/model/color_theme.dart'; import 'package:miria/model/tab_setting.dart'; import 'package:miria/repository/account_repository.dart'; import 'package:miria/repository/account_settings_repository.dart'; @@ -14,6 +15,7 @@ import 'package:miria/repository/favorite_repository.dart'; import 'package:miria/repository/general_settings_repository.dart'; import 'package:miria/repository/hybrid_timeline_repository.dart'; import 'package:miria/repository/import_export_repository.dart'; +import 'package:miria/repository/color_theme_repository.dart'; import 'package:miria/repository/main_stream_repository.dart'; import 'package:miria/repository/global_time_line_repository.dart'; import 'package:miria/repository/home_time_line_repository.dart'; @@ -299,3 +301,13 @@ final antennasNotifierProvider = AsyncNotifierProvider.autoDispose final clipsNotifierProvider = AsyncNotifierProvider.autoDispose .family, Misskey>(ClipsNotifier.new); + +final colorThemeRepositoryProvider = + NotifierProvider>( + ColorThemeRepository.new, +); + +final installedThemeCodeRepositoryProvider = + NotifierProvider>( + InstalledThemeCodeRepository.new, +); diff --git a/lib/repository/color_theme_repository.dart b/lib/repository/color_theme_repository.dart new file mode 100644 index 000000000..cddcd0ccd --- /dev/null +++ b/lib/repository/color_theme_repository.dart @@ -0,0 +1,93 @@ +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:json5/json5.dart'; +import 'package:miria/model/color_theme.dart'; +import 'package:miria/model/misskey_theme.dart'; +import 'package:miria/providers.dart'; +import 'package:miria/view/themes/built_in_color_themes.dart'; +import 'package:shared_preferences/shared_preferences.dart'; + +sealed class ColorThemeException implements Exception {} + +class InvalidThemeFormatException implements ColorThemeException {} + +class DuplicatedThemeException implements ColorThemeException {} + +class ColorThemeRepository extends Notifier> { + @override + List build() { + final codes = ref.watch(installedThemeCodeRepositoryProvider); + return [ + ...builtInColorThemes, + ...codes.map((code) { + try { + return ColorTheme.misskey( + MisskeyTheme.fromJson(json5Decode(code) as Map), + ); + } catch (e) { + return null; + } + }).nonNulls, + ]; + } + + Future addTheme(String code) async { + final ColorTheme theme; + try { + theme = ColorTheme.misskey( + MisskeyTheme.fromJson(json5Decode(code) as Map), + ); + } catch (e) { + throw InvalidThemeFormatException(); + } + if (state.any((element) => element.id == theme.id)) { + throw DuplicatedThemeException(); + } + + await ref + .read(installedThemeCodeRepositoryProvider.notifier) + .addTheme(code); + } + + Future removeTheme(String id) async { + await ref + .read(installedThemeCodeRepositoryProvider.notifier) + .removeTheme(id); + } +} + +class InstalledThemeCodeRepository extends Notifier> { + final prefsKey = "themes"; + + @override + List build() { + Future(load); + return []; + } + + Future load() async { + final prefs = await SharedPreferences.getInstance(); + final themes = prefs.getStringList(prefsKey); + if (themes == null) { + return; + } + state = themes; + } + + Future addTheme(String code) async { + final prefs = await SharedPreferences.getInstance(); + final codes = prefs.getStringList(prefsKey) ?? []; + codes.add(code); + await prefs.setStringList(prefsKey, codes); + state = codes; + } + + Future removeTheme(String id) async { + final prefs = await SharedPreferences.getInstance(); + final codes = prefs.getStringList(prefsKey); + codes!.removeWhere( + (code) => (json5Decode(code) as Map)["id"] == id, + ); + await prefs.setStringList(prefsKey, codes); + state = codes; + } +} diff --git a/lib/router/app_router.dart b/lib/router/app_router.dart index 9389a6b78..013b0c172 100644 --- a/lib/router/app_router.dart +++ b/lib/router/app_router.dart @@ -27,6 +27,7 @@ import 'package:miria/view/photo_edit_page/photo_edit_page.dart'; import 'package:miria/view/settings_page/account_settings_page/account_list.dart'; import 'package:miria/view/settings_page/app_info_page/app_info_page.dart'; import 'package:miria/view/settings_page/general_settings_page/general_settings_page.dart'; +import 'package:miria/view/settings_page/general_settings_page/installed_themes_page.dart'; import 'package:miria/view/settings_page/import_export_page/import_export_page.dart'; import 'package:miria/view/settings_page/tab_settings_page/tab_settings_list_page.dart'; import 'package:miria/view/several_account_settings_page/cache_management_page/cache_management_page.dart'; @@ -102,5 +103,6 @@ class AppRouter extends _$AppRouter { AutoRoute(page: MisskeyGamesRoute.page), // きしょ…… AutoRoute(page: MisskeyRouteRoute.page), + AutoRoute(page: InstalledThemesRoute.page), ]; } diff --git a/lib/router/app_router.gr.dart b/lib/router/app_router.gr.dart index 51f23a9cc..854877f72 100644 --- a/lib/router/app_router.gr.dart +++ b/lib/router/app_router.gr.dart @@ -366,16 +366,6 @@ abstract class _$AppRouter extends RootStackRouter { child: const SplashPage(), ); }, - TimeLineRoute.name: (routeData) { - final args = routeData.argsAs(); - return AutoRoutePage( - routeData: routeData, - child: TimeLinePage( - key: args.key, - initialTabSetting: args.initialTabSetting, - ), - ); - }, UsersListDetailRoute.name: (routeData) { final args = routeData.argsAs(); return AutoRoutePage( @@ -441,6 +431,22 @@ abstract class _$AppRouter extends RootStackRouter { ), ); }, + TimeLineRoute.name: (routeData) { + final args = routeData.argsAs(); + return AutoRoutePage( + routeData: routeData, + child: TimeLinePage( + key: args.key, + initialTabSetting: args.initialTabSetting, + ), + ); + }, + InstalledThemesRoute.name: (routeData) { + return AutoRoutePage( + routeData: routeData, + child: const InstalledThemesPage(), + ); + }, }; } @@ -1727,44 +1733,6 @@ class SplashRoute extends PageRouteInfo { static const PageInfo page = PageInfo(name); } -/// generated route for -/// [TimeLinePage] -class TimeLineRoute extends PageRouteInfo { - TimeLineRoute({ - Key? key, - required TabSetting initialTabSetting, - List? children, - }) : super( - TimeLineRoute.name, - args: TimeLineRouteArgs( - key: key, - initialTabSetting: initialTabSetting, - ), - initialChildren: children, - ); - - static const String name = 'TimeLineRoute'; - - static const PageInfo page = - PageInfo(name); -} - -class TimeLineRouteArgs { - const TimeLineRouteArgs({ - this.key, - required this.initialTabSetting, - }); - - final Key? key; - - final TabSetting initialTabSetting; - - @override - String toString() { - return 'TimeLineRouteArgs{key: $key, initialTabSetting: $initialTabSetting}'; - } -} - /// generated route for /// [UsersListDetailPage] class UsersListDetailRoute extends PageRouteInfo { @@ -2016,3 +1984,55 @@ class UserRouteArgs { return 'UserRouteArgs{key: $key, userId: $userId, account: $account}'; } } + +/// generated route for +/// [TimeLinePage] +class TimeLineRoute extends PageRouteInfo { + TimeLineRoute({ + Key? key, + required TabSetting initialTabSetting, + List? children, + }) : super( + TimeLineRoute.name, + args: TimeLineRouteArgs( + key: key, + initialTabSetting: initialTabSetting, + ), + initialChildren: children, + ); + + static const String name = 'TimeLineRoute'; + + static const PageInfo page = + PageInfo(name); +} + +class TimeLineRouteArgs { + const TimeLineRouteArgs({ + this.key, + required this.initialTabSetting, + }); + + final Key? key; + + final TabSetting initialTabSetting; + + @override + String toString() { + return 'TimeLineRouteArgs{key: $key, initialTabSetting: $initialTabSetting}'; + } +} + +/// generated route for +/// [InstalledThemesPage] +class InstalledThemesRoute extends PageRouteInfo { + const InstalledThemesRoute({List? children}) + : super( + InstalledThemesRoute.name, + initialChildren: children, + ); + + static const String name = 'InstalledThemesRoute'; + + static const PageInfo page = PageInfo(name); +} diff --git a/lib/view/common/error_dialog_listener.dart b/lib/view/common/error_dialog_listener.dart index 76204e8fe..f3463fd3a 100644 --- a/lib/view/common/error_dialog_listener.dart +++ b/lib/view/common/error_dialog_listener.dart @@ -3,6 +3,7 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:miria/providers.dart'; import 'package:miria/repository/account_repository.dart'; +import 'package:miria/repository/color_theme_repository.dart'; import 'package:miria/state_notifier/common/misskey_notes/misskey_note_notifier.dart'; import 'package:miria/state_notifier/note_create_page/note_create_state_notifier.dart'; import 'package:miria/view/common/error_dialog_handler.dart'; @@ -56,11 +57,19 @@ class ErrorDialogListener extends ConsumerWidget { S.of(context).cannotMentionToRemoteInLocalOnlyNote, }; SimpleMessageDialog.show(next.$2!, message); + } else if (error is ColorThemeException) { + final message = switch (error) { + InvalidThemeFormatException() => S.of(context).invalidThemeFormat, + DuplicatedThemeException() => S.of(context).duplicatedTheme, + }; + SimpleMessageDialog.show(next.$2!, message); } else { - SimpleMessageDialog.show(next.$2!, "${S.of(context).thrownError}\n$next"); + SimpleMessageDialog.show( + next.$2!, "${S.of(context).thrownError}\n$next"); } } else if (error is Error) { - SimpleMessageDialog.show(next.$2!, "${S.of(context).thrownError}\n$next"); + SimpleMessageDialog.show( + next.$2!, "${S.of(context).thrownError}\n$next"); } }); diff --git a/lib/view/settings_page/general_settings_page/general_settings_page.dart b/lib/view/settings_page/general_settings_page/general_settings_page.dart index 65ec08457..8fc44303e 100644 --- a/lib/view/settings_page/general_settings_page/general_settings_page.dart +++ b/lib/view/settings_page/general_settings_page/general_settings_page.dart @@ -7,8 +7,8 @@ import 'package:google_fonts/google_fonts.dart'; import 'package:miria/const.dart'; import 'package:miria/model/general_settings.dart'; import 'package:miria/providers.dart'; +import 'package:miria/router/app_router.dart'; import 'package:miria/view/themes/app_theme.dart'; -import 'package:miria/view/themes/built_in_color_themes.dart'; @RoutePage() class GeneralSettingsPage extends ConsumerStatefulWidget { @@ -48,20 +48,23 @@ class GeneralSettingsPageState extends ConsumerState { void didChangeDependencies() { super.didChangeDependencies(); final settings = ref.read(generalSettingsRepositoryProvider).settings; + final colorThemes = ref.read(colorThemeRepositoryProvider); setState(() { lightModeTheme = settings.lightColorThemeId; - if (lightModeTheme.isEmpty) { - lightModeTheme = builtInColorThemes - .where((element) => !element.isDarkTheme) - .first - .id; + if (lightModeTheme.isEmpty || + colorThemes.every( + (element) => element.isDarkTheme || element.id != lightModeTheme, + )) { + lightModeTheme = + colorThemes.firstWhere((element) => !element.isDarkTheme).id; } darkModeTheme = settings.darkColorThemeId; if (darkModeTheme.isEmpty || - builtInColorThemes.every((element) => - !element.isDarkTheme || element.id != darkModeTheme)) { + colorThemes.every( + (element) => !element.isDarkTheme || element.id != darkModeTheme, + )) { darkModeTheme = - builtInColorThemes.where((element) => element.isDarkTheme).first.id; + colorThemes.firstWhere((element) => element.isDarkTheme).id; } colorSystem = settings.themeColorSystem; nsfwInherit = settings.nsfwInherit; @@ -108,6 +111,7 @@ class GeneralSettingsPageState extends ConsumerState { @override Widget build(BuildContext context) { + final colorThemes = ref.watch(colorThemeRepositoryProvider); return Scaffold( appBar: AppBar(title: Text(S.of(context).generalSettings)), body: SingleChildScrollView( @@ -257,8 +261,9 @@ class GeneralSettingsPageState extends ConsumerState { const Padding(padding: EdgeInsets.only(top: 10)), Text(S.of(context).themeForLightMode), DropdownButton( + isExpanded: true, items: [ - for (final element in builtInColorThemes + for (final element in colorThemes .where((element) => !element.isDarkTheme)) DropdownMenuItem( value: element.id, @@ -276,8 +281,9 @@ class GeneralSettingsPageState extends ConsumerState { const Padding(padding: EdgeInsets.only(top: 10)), Text(S.of(context).themeForDarkMode), DropdownButton( + isExpanded: true, items: [ - for (final element in builtInColorThemes + for (final element in colorThemes .where((element) => element.isDarkTheme)) DropdownMenuItem( value: element.id, @@ -293,6 +299,7 @@ class GeneralSettingsPageState extends ConsumerState { const Padding(padding: EdgeInsets.only(top: 10)), Text(S.of(context).selectLightOrDarkMode), DropdownButton( + isExpanded: true, items: [ for (final colorSystem in ThemeColorSystem.values) DropdownMenuItem( @@ -306,6 +313,13 @@ class GeneralSettingsPageState extends ConsumerState { save(); }), ), + ListTile( + title: Text(S.of(context).manageThemes), + trailing: const Icon(Icons.keyboard_arrow_right), + onTap: () { + context.pushRoute(const InstalledThemesRoute()); + }, + ), ], ), ), diff --git a/lib/view/settings_page/general_settings_page/install_theme_dialog.dart b/lib/view/settings_page/general_settings_page/install_theme_dialog.dart new file mode 100644 index 000000000..4002ac126 --- /dev/null +++ b/lib/view/settings_page/general_settings_page/install_theme_dialog.dart @@ -0,0 +1,66 @@ +import 'package:flutter/material.dart'; +import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:json5/json5.dart'; +import 'package:miria/model/color_theme.dart'; +import 'package:miria/model/misskey_theme.dart'; +import 'package:miria/providers.dart'; +import 'package:miria/view/common/error_dialog_handler.dart'; + +final _formKeyProvider = Provider.autoDispose((ref) => GlobalKey()); + +class InstallThemeDialog extends ConsumerWidget { + const InstallThemeDialog({super.key}); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final formKey = ref.watch(_formKeyProvider); + + return AlertDialog( + scrollable: true, + title: Text(S.of(context).installTheme), + content: Form( + key: formKey, + child: Column( + children: [ + TextFormField( + decoration: InputDecoration(labelText: S.of(context).themeCode), + keyboardType: TextInputType.multiline, + maxLines: null, + minLines: 10, + textAlignVertical: TextAlignVertical.top, + validator: (code) { + if (code == null || code.isEmpty) { + return S.of(context).pleaseInputSomething; + } + try { + ColorTheme.misskey( + MisskeyTheme.fromJson( + json5Decode(code) as Map, + ), + ); + } catch (e) { + return S.of(context).invalidThemeFormat; + } + return null; + }, + onSaved: (code) { + if (formKey.currentState!.validate()) { + ref + .read(colorThemeRepositoryProvider.notifier) + .addTheme(code!) + .expectFailure(context); + Navigator.of(context).pop(); + } + }, + ), + ElevatedButton( + onPressed: () => formKey.currentState?.save(), + child: Text(S.of(context).install), + ), + ], + ), + ), + ); + } +} diff --git a/lib/view/settings_page/general_settings_page/installed_themes_page.dart b/lib/view/settings_page/general_settings_page/installed_themes_page.dart new file mode 100644 index 000000000..c41eb161a --- /dev/null +++ b/lib/view/settings_page/general_settings_page/installed_themes_page.dart @@ -0,0 +1,96 @@ +import 'package:auto_route/auto_route.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter/services.dart'; +import 'package:flutter_gen/gen_l10n/app_localizations.dart'; +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:json5/json5.dart'; +import 'package:miria/model/misskey_theme.dart'; +import 'package:miria/providers.dart'; +import 'package:miria/view/dialogs/simple_confirm_dialog.dart'; +import 'package:miria/view/settings_page/general_settings_page/install_theme_dialog.dart'; + +@RoutePage() +class InstalledThemesPage extends ConsumerWidget { + const InstalledThemesPage({super.key}); + + @override + Widget build(BuildContext context, WidgetRef ref) { + final codes = ref.watch(installedThemeCodeRepositoryProvider); + final themes = codes + .map( + (code) => MisskeyTheme.fromJson( + json5Decode(code) as Map, + ), + ) + .toList(); + + return Scaffold( + appBar: AppBar( + title: Text(S.of(context).installedThemes), + actions: [ + IconButton( + onPressed: () { + showDialog( + context: context, + builder: (context) => const InstallThemeDialog(), + ); + }, + icon: const Icon(Icons.add), + ), + ], + ), + body: themes.isEmpty + ? Center(child: Text(S.of(context).noInstalledThemes)) + : ListView.builder( + itemCount: themes.length, + itemBuilder: (context, index) { + final theme = themes[index]; + final code = codes[index]; + return ListTile( + title: Text(theme.name), + subtitle: Text(theme.author ?? ""), + trailing: IconButton( + onPressed: () async { + final result = await SimpleConfirmDialog.show( + context: context, + message: S.of(context).confirmDeleteTheme, + primary: S.of(context).willDelete, + secondary: S.of(context).cancel, + ); + if (!context.mounted) return; + if (result ?? false) { + ref + .read(colorThemeRepositoryProvider.notifier) + .removeTheme(theme.id); + } + }, + icon: const Icon(Icons.delete), + ), + onTap: () { + showDialog( + context: context, + builder: (context) => AlertDialog( + scrollable: true, + title: Text(S.of(context).themeCode), + content: Text(code), + actions: [ + TextButton( + onPressed: () { + Clipboard.setData(ClipboardData(text: code)); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar(content: Text(S.of(context).doneCopy)), + ); + Navigator.of(context).pop(); + }, + child: Text(S.of(context).copy), + ), + ], + ), + ); + }, + ); + }, + ), + ); + } +} diff --git a/lib/view/themes/app_theme_scope.dart b/lib/view/themes/app_theme_scope.dart index 1b2f7f153..9f2f932df 100644 --- a/lib/view/themes/app_theme_scope.dart +++ b/lib/view/themes/app_theme_scope.dart @@ -8,7 +8,6 @@ import 'package:miria/model/color_theme.dart'; import 'package:miria/model/general_settings.dart'; import 'package:miria/providers.dart'; import 'package:miria/view/themes/app_theme.dart'; -import 'package:miria/view/themes/built_in_color_themes.dart'; class AppThemeScope extends ConsumerStatefulWidget { final Widget child; @@ -364,6 +363,7 @@ class AppThemeScopeState extends ConsumerState { .select((value) => value.settings.cursiveFontName)); final fantasyFontName = ref.watch(generalSettingsRepositoryProvider .select((value) => value.settings.fantasyFontName)); + final colorThemes = ref.watch(colorThemeRepositoryProvider); final bool isDark; if (colorSystem == ThemeColorSystem.system) { @@ -375,11 +375,12 @@ class AppThemeScopeState extends ConsumerState { isDark = false; } - final foundColorTheme = builtInColorThemes.firstWhereOrNull((e) => - e.isDarkTheme == isDark && - e.id == (isDark ? darkTheme : lightTheme)) ?? - builtInColorThemes - .firstWhere((element) => element.isDarkTheme == isDark); + final foundColorTheme = colorThemes.firstWhereOrNull( + (e) => + e.isDarkTheme == isDark && + e.id == (isDark ? darkTheme : lightTheme), + ) ?? + colorThemes.firstWhere((element) => element.isDarkTheme == isDark); return Theme( data: buildTheme( diff --git a/test/test_util/mock.mocks.dart b/test/test_util/mock.mocks.dart index 571c12267..c30b09d29 100644 --- a/test/test_util/mock.mocks.dart +++ b/test/test_util/mock.mocks.dart @@ -308,9 +308,31 @@ class _FakeMisskeyFlash_23 extends _i1.SmartFake implements _i8.MisskeyFlash { ); } -class _FakeEmojisResponse_24 extends _i1.SmartFake +class _FakeMisskeyReversi_24 extends _i1.SmartFake + implements _i5.MisskeyReversi { + _FakeMisskeyReversi_24( + Object parent, + Invocation parentInvocation, + ) : super( + parent, + parentInvocation, + ); +} + +class _FakeMisskeyBubbleGame_25 extends _i1.SmartFake + implements _i5.MisskeyBubbleGame { + _FakeMisskeyBubbleGame_25( + Object parent, + Invocation parentInvocation, + ) : super( + parent, + parentInvocation, + ); +} + +class _FakeEmojisResponse_26 extends _i1.SmartFake implements _i5.EmojisResponse { - _FakeEmojisResponse_24( + _FakeEmojisResponse_26( Object parent, Invocation parentInvocation, ) : super( @@ -319,8 +341,8 @@ class _FakeEmojisResponse_24 extends _i1.SmartFake ); } -class _FakeEmojiResponse_25 extends _i1.SmartFake implements _i5.EmojiResponse { - _FakeEmojiResponse_25( +class _FakeEmojiResponse_27 extends _i1.SmartFake implements _i5.EmojiResponse { + _FakeEmojiResponse_27( Object parent, Invocation parentInvocation, ) : super( @@ -329,8 +351,8 @@ class _FakeEmojiResponse_25 extends _i1.SmartFake implements _i5.EmojiResponse { ); } -class _FakeMetaResponse_26 extends _i1.SmartFake implements _i5.MetaResponse { - _FakeMetaResponse_26( +class _FakeMetaResponse_28 extends _i1.SmartFake implements _i5.MetaResponse { + _FakeMetaResponse_28( Object parent, Invocation parentInvocation, ) : super( @@ -339,8 +361,8 @@ class _FakeMetaResponse_26 extends _i1.SmartFake implements _i5.MetaResponse { ); } -class _FakeStatsResponse_27 extends _i1.SmartFake implements _i9.StatsResponse { - _FakeStatsResponse_27( +class _FakeStatsResponse_29 extends _i1.SmartFake implements _i9.StatsResponse { + _FakeStatsResponse_29( Object parent, Invocation parentInvocation, ) : super( @@ -349,8 +371,8 @@ class _FakeStatsResponse_27 extends _i1.SmartFake implements _i9.StatsResponse { ); } -class _FakePingResponse_28 extends _i1.SmartFake implements _i10.PingResponse { - _FakePingResponse_28( +class _FakePingResponse_30 extends _i1.SmartFake implements _i10.PingResponse { + _FakePingResponse_30( Object parent, Invocation parentInvocation, ) : super( @@ -359,9 +381,9 @@ class _FakePingResponse_28 extends _i1.SmartFake implements _i10.PingResponse { ); } -class _FakeServerInfoResponse_29 extends _i1.SmartFake +class _FakeServerInfoResponse_31 extends _i1.SmartFake implements _i5.ServerInfoResponse { - _FakeServerInfoResponse_29( + _FakeServerInfoResponse_31( Object parent, Invocation parentInvocation, ) : super( @@ -370,9 +392,9 @@ class _FakeServerInfoResponse_29 extends _i1.SmartFake ); } -class _FakeGetOnlineUsersCountResponse_30 extends _i1.SmartFake +class _FakeGetOnlineUsersCountResponse_32 extends _i1.SmartFake implements _i5.GetOnlineUsersCountResponse { - _FakeGetOnlineUsersCountResponse_30( + _FakeGetOnlineUsersCountResponse_32( Object parent, Invocation parentInvocation, ) : super( @@ -381,9 +403,9 @@ class _FakeGetOnlineUsersCountResponse_30 extends _i1.SmartFake ); } -class _FakeSocketController_31 extends _i1.SmartFake +class _FakeSocketController_33 extends _i1.SmartFake implements _i5.SocketController { - _FakeSocketController_31( + _FakeSocketController_33( Object parent, Invocation parentInvocation, ) : super( @@ -392,8 +414,8 @@ class _FakeSocketController_31 extends _i1.SmartFake ); } -class _FakeAntenna_32 extends _i1.SmartFake implements _i5.Antenna { - _FakeAntenna_32( +class _FakeAntenna_34 extends _i1.SmartFake implements _i5.Antenna { + _FakeAntenna_34( Object parent, Invocation parentInvocation, ) : super( @@ -402,9 +424,9 @@ class _FakeAntenna_32 extends _i1.SmartFake implements _i5.Antenna { ); } -class _FakeApShowResponse_33 extends _i1.SmartFake +class _FakeApShowResponse_35 extends _i1.SmartFake implements _i5.ApShowResponse { - _FakeApShowResponse_33( + _FakeApShowResponse_35( Object parent, Invocation parentInvocation, ) : super( @@ -413,9 +435,9 @@ class _FakeApShowResponse_33 extends _i1.SmartFake ); } -class _FakeCommunityChannel_34 extends _i1.SmartFake +class _FakeCommunityChannel_36 extends _i1.SmartFake implements _i5.CommunityChannel { - _FakeCommunityChannel_34( + _FakeCommunityChannel_36( Object parent, Invocation parentInvocation, ) : super( @@ -424,8 +446,8 @@ class _FakeCommunityChannel_34 extends _i1.SmartFake ); } -class _FakeClip_35 extends _i1.SmartFake implements _i5.Clip { - _FakeClip_35( +class _FakeClip_37 extends _i1.SmartFake implements _i5.Clip { + _FakeClip_37( Object parent, Invocation parentInvocation, ) : super( @@ -434,9 +456,9 @@ class _FakeClip_35 extends _i1.SmartFake implements _i5.Clip { ); } -class _FakeMisskeyDriveFiles_36 extends _i1.SmartFake +class _FakeMisskeyDriveFiles_38 extends _i1.SmartFake implements _i5.MisskeyDriveFiles { - _FakeMisskeyDriveFiles_36( + _FakeMisskeyDriveFiles_38( Object parent, Invocation parentInvocation, ) : super( @@ -445,9 +467,9 @@ class _FakeMisskeyDriveFiles_36 extends _i1.SmartFake ); } -class _FakeMisskeyDriveFolders_37 extends _i1.SmartFake +class _FakeMisskeyDriveFolders_39 extends _i1.SmartFake implements _i5.MisskeyDriveFolders { - _FakeMisskeyDriveFolders_37( + _FakeMisskeyDriveFolders_39( Object parent, Invocation parentInvocation, ) : super( @@ -456,8 +478,8 @@ class _FakeMisskeyDriveFolders_37 extends _i1.SmartFake ); } -class _FakeDriveFolder_38 extends _i1.SmartFake implements _i5.DriveFolder { - _FakeDriveFolder_38( +class _FakeDriveFolder_40 extends _i1.SmartFake implements _i5.DriveFolder { + _FakeDriveFolder_40( Object parent, Invocation parentInvocation, ) : super( @@ -466,8 +488,8 @@ class _FakeDriveFolder_38 extends _i1.SmartFake implements _i5.DriveFolder { ); } -class _FakeDriveFile_39 extends _i1.SmartFake implements _i5.DriveFile { - _FakeDriveFile_39( +class _FakeDriveFile_41 extends _i1.SmartFake implements _i5.DriveFile { + _FakeDriveFile_41( Object parent, Invocation parentInvocation, ) : super( @@ -476,9 +498,9 @@ class _FakeDriveFile_39 extends _i1.SmartFake implements _i5.DriveFile { ); } -class _FakeFederationShowInstanceResponse_40 extends _i1.SmartFake +class _FakeFederationShowInstanceResponse_42 extends _i1.SmartFake implements _i5.FederationShowInstanceResponse { - _FakeFederationShowInstanceResponse_40( + _FakeFederationShowInstanceResponse_42( Object parent, Invocation parentInvocation, ) : super( @@ -487,9 +509,9 @@ class _FakeFederationShowInstanceResponse_40 extends _i1.SmartFake ); } -class _FakeMisskeyFollowingRequests_41 extends _i1.SmartFake +class _FakeMisskeyFollowingRequests_43 extends _i1.SmartFake implements _i5.MisskeyFollowingRequests { - _FakeMisskeyFollowingRequests_41( + _FakeMisskeyFollowingRequests_43( Object parent, Invocation parentInvocation, ) : super( @@ -498,8 +520,8 @@ class _FakeMisskeyFollowingRequests_41 extends _i1.SmartFake ); } -class _FakeUserLite_42 extends _i1.SmartFake implements _i5.UserLite { - _FakeUserLite_42( +class _FakeUserLite_44 extends _i1.SmartFake implements _i5.UserLite { + _FakeUserLite_44( Object parent, Invocation parentInvocation, ) : super( @@ -508,8 +530,8 @@ class _FakeUserLite_42 extends _i1.SmartFake implements _i5.UserLite { ); } -class _FakeHashtag_43 extends _i1.SmartFake implements _i5.Hashtag { - _FakeHashtag_43( +class _FakeHashtag_45 extends _i1.SmartFake implements _i5.Hashtag { + _FakeHashtag_45( Object parent, Invocation parentInvocation, ) : super( @@ -518,8 +540,9 @@ class _FakeHashtag_43 extends _i1.SmartFake implements _i5.Hashtag { ); } -class _FakeMeDetailed_44 extends _i1.SmartFake implements _i5.MeDetailed { - _FakeMeDetailed_44( +class _FakeMisskeyIRegistry_46 extends _i1.SmartFake + implements _i5.MisskeyIRegistry { + _FakeMisskeyIRegistry_46( Object parent, Invocation parentInvocation, ) : super( @@ -528,9 +551,19 @@ class _FakeMeDetailed_44 extends _i1.SmartFake implements _i5.MeDetailed { ); } -class _FakeMisskeyNotesReactions_45 extends _i1.SmartFake +class _FakeMeDetailed_47 extends _i1.SmartFake implements _i5.MeDetailed { + _FakeMeDetailed_47( + Object parent, + Invocation parentInvocation, + ) : super( + parent, + parentInvocation, + ); +} + +class _FakeMisskeyNotesReactions_48 extends _i1.SmartFake implements _i5.MisskeyNotesReactions { - _FakeMisskeyNotesReactions_45( + _FakeMisskeyNotesReactions_48( Object parent, Invocation parentInvocation, ) : super( @@ -539,9 +572,9 @@ class _FakeMisskeyNotesReactions_45 extends _i1.SmartFake ); } -class _FakeMisskeyNotesFavorites_46 extends _i1.SmartFake +class _FakeMisskeyNotesFavorites_49 extends _i1.SmartFake implements _i5.MisskeyNotesFavorites { - _FakeMisskeyNotesFavorites_46( + _FakeMisskeyNotesFavorites_49( Object parent, Invocation parentInvocation, ) : super( @@ -550,9 +583,9 @@ class _FakeMisskeyNotesFavorites_46 extends _i1.SmartFake ); } -class _FakeMisskeyNotesPolls_47 extends _i1.SmartFake +class _FakeMisskeyNotesPolls_50 extends _i1.SmartFake implements _i5.MisskeyNotesPolls { - _FakeMisskeyNotesPolls_47( + _FakeMisskeyNotesPolls_50( Object parent, Invocation parentInvocation, ) : super( @@ -561,9 +594,9 @@ class _FakeMisskeyNotesPolls_47 extends _i1.SmartFake ); } -class _FakeMisskeyNotesThreadMuting_48 extends _i1.SmartFake +class _FakeMisskeyNotesThreadMuting_51 extends _i1.SmartFake implements _i5.MisskeyNotesThreadMuting { - _FakeMisskeyNotesThreadMuting_48( + _FakeMisskeyNotesThreadMuting_51( Object parent, Invocation parentInvocation, ) : super( @@ -572,8 +605,8 @@ class _FakeMisskeyNotesThreadMuting_48 extends _i1.SmartFake ); } -class _FakeNote_49 extends _i1.SmartFake implements _i5.Note { - _FakeNote_49( +class _FakeNote_52 extends _i1.SmartFake implements _i5.Note { + _FakeNote_52( Object parent, Invocation parentInvocation, ) : super( @@ -582,9 +615,9 @@ class _FakeNote_49 extends _i1.SmartFake implements _i5.Note { ); } -class _FakeNotesStateResponse_50 extends _i1.SmartFake +class _FakeNotesStateResponse_53 extends _i1.SmartFake implements _i5.NotesStateResponse { - _FakeNotesStateResponse_50( + _FakeNotesStateResponse_53( Object parent, Invocation parentInvocation, ) : super( @@ -593,9 +626,9 @@ class _FakeNotesStateResponse_50 extends _i1.SmartFake ); } -class _FakeNotesTranslateResponse_51 extends _i1.SmartFake +class _FakeNotesTranslateResponse_54 extends _i1.SmartFake implements _i5.NotesTranslateResponse { - _FakeNotesTranslateResponse_51( + _FakeNotesTranslateResponse_54( Object parent, Invocation parentInvocation, ) : super( @@ -604,9 +637,9 @@ class _FakeNotesTranslateResponse_51 extends _i1.SmartFake ); } -class _FakeRolesListResponse_52 extends _i1.SmartFake +class _FakeRolesListResponse_55 extends _i1.SmartFake implements _i5.RolesListResponse { - _FakeRolesListResponse_52( + _FakeRolesListResponse_55( Object parent, Invocation parentInvocation, ) : super( @@ -615,9 +648,9 @@ class _FakeRolesListResponse_52 extends _i1.SmartFake ); } -class _FakeMisskeyUsersLists_53 extends _i1.SmartFake +class _FakeMisskeyUsersLists_56 extends _i1.SmartFake implements _i5.MisskeyUsersLists { - _FakeMisskeyUsersLists_53( + _FakeMisskeyUsersLists_56( Object parent, Invocation parentInvocation, ) : super( @@ -626,8 +659,8 @@ class _FakeMisskeyUsersLists_53 extends _i1.SmartFake ); } -class _FakeUserDetailed_54 extends _i1.SmartFake implements _i5.UserDetailed { - _FakeUserDetailed_54( +class _FakeUserDetailed_57 extends _i1.SmartFake implements _i5.UserDetailed { + _FakeUserDetailed_57( Object parent, Invocation parentInvocation, ) : super( @@ -636,8 +669,8 @@ class _FakeUserDetailed_54 extends _i1.SmartFake implements _i5.UserDetailed { ); } -class _FakeBaseOptions_55 extends _i1.SmartFake implements _i11.BaseOptions { - _FakeBaseOptions_55( +class _FakeBaseOptions_58 extends _i1.SmartFake implements _i11.BaseOptions { + _FakeBaseOptions_58( Object parent, Invocation parentInvocation, ) : super( @@ -646,9 +679,9 @@ class _FakeBaseOptions_55 extends _i1.SmartFake implements _i11.BaseOptions { ); } -class _FakeHttpClientAdapter_56 extends _i1.SmartFake +class _FakeHttpClientAdapter_59 extends _i1.SmartFake implements _i11.HttpClientAdapter { - _FakeHttpClientAdapter_56( + _FakeHttpClientAdapter_59( Object parent, Invocation parentInvocation, ) : super( @@ -657,8 +690,8 @@ class _FakeHttpClientAdapter_56 extends _i1.SmartFake ); } -class _FakeTransformer_57 extends _i1.SmartFake implements _i11.Transformer { - _FakeTransformer_57( +class _FakeTransformer_60 extends _i1.SmartFake implements _i11.Transformer { + _FakeTransformer_60( Object parent, Invocation parentInvocation, ) : super( @@ -667,8 +700,8 @@ class _FakeTransformer_57 extends _i1.SmartFake implements _i11.Transformer { ); } -class _FakeInterceptors_58 extends _i1.SmartFake implements _i11.Interceptors { - _FakeInterceptors_58( +class _FakeInterceptors_61 extends _i1.SmartFake implements _i11.Interceptors { + _FakeInterceptors_61( Object parent, Invocation parentInvocation, ) : super( @@ -677,8 +710,8 @@ class _FakeInterceptors_58 extends _i1.SmartFake implements _i11.Interceptors { ); } -class _FakeResponse_59 extends _i1.SmartFake implements _i11.Response { - _FakeResponse_59( +class _FakeResponse_62 extends _i1.SmartFake implements _i11.Response { + _FakeResponse_62( Object parent, Invocation parentInvocation, ) : super( @@ -687,8 +720,8 @@ class _FakeResponse_59 extends _i1.SmartFake implements _i11.Response { ); } -class _FakeDuration_60 extends _i1.SmartFake implements Duration { - _FakeDuration_60( +class _FakeDuration_63 extends _i1.SmartFake implements Duration { + _FakeDuration_63( Object parent, Invocation parentInvocation, ) : super( @@ -697,9 +730,9 @@ class _FakeDuration_60 extends _i1.SmartFake implements Duration { ); } -class _FakeHttpClientRequest_61 extends _i1.SmartFake +class _FakeHttpClientRequest_64 extends _i1.SmartFake implements _i12.HttpClientRequest { - _FakeHttpClientRequest_61( + _FakeHttpClientRequest_64( Object parent, Invocation parentInvocation, ) : super( @@ -708,9 +741,9 @@ class _FakeHttpClientRequest_61 extends _i1.SmartFake ); } -class _FakeWebSocketChannel_62 extends _i1.SmartFake +class _FakeWebSocketChannel_65 extends _i1.SmartFake implements _i13.WebSocketChannel { - _FakeWebSocketChannel_62( + _FakeWebSocketChannel_65( Object parent, Invocation parentInvocation, ) : super( @@ -719,8 +752,8 @@ class _FakeWebSocketChannel_62 extends _i1.SmartFake ); } -class _FakeFile_63 extends _i1.SmartFake implements _i14.File { - _FakeFile_63( +class _FakeFile_66 extends _i1.SmartFake implements _i14.File { + _FakeFile_66( Object parent, Invocation parentInvocation, ) : super( @@ -729,8 +762,8 @@ class _FakeFile_63 extends _i1.SmartFake implements _i14.File { ); } -class _FakeFileInfo_64 extends _i1.SmartFake implements _i15.FileInfo { - _FakeFileInfo_64( +class _FakeFileInfo_67 extends _i1.SmartFake implements _i15.FileInfo { + _FakeFileInfo_67( Object parent, Invocation parentInvocation, ) : super( @@ -1983,6 +2016,50 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { returnValueForMissingStub: null, ); + @override + _i5.MisskeyReversi get reversi => (super.noSuchMethod( + Invocation.getter(#reversi), + returnValue: _FakeMisskeyReversi_24( + this, + Invocation.getter(#reversi), + ), + returnValueForMissingStub: _FakeMisskeyReversi_24( + this, + Invocation.getter(#reversi), + ), + ) as _i5.MisskeyReversi); + + @override + set reversi(_i5.MisskeyReversi? _reversi) => super.noSuchMethod( + Invocation.setter( + #reversi, + _reversi, + ), + returnValueForMissingStub: null, + ); + + @override + _i5.MisskeyBubbleGame get bubbleGame => (super.noSuchMethod( + Invocation.getter(#bubbleGame), + returnValue: _FakeMisskeyBubbleGame_25( + this, + Invocation.getter(#bubbleGame), + ), + returnValueForMissingStub: _FakeMisskeyBubbleGame_25( + this, + Invocation.getter(#bubbleGame), + ), + ) as _i5.MisskeyBubbleGame); + + @override + set bubbleGame(_i5.MisskeyBubbleGame? _bubbleGame) => super.noSuchMethod( + Invocation.setter( + #bubbleGame, + _bubbleGame, + ), + returnValueForMissingStub: null, + ); + @override _i18.Future> announcements( _i5.AnnouncementsRequest? request) => @@ -2015,7 +2092,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { [], ), returnValue: - _i18.Future<_i5.EmojisResponse>.value(_FakeEmojisResponse_24( + _i18.Future<_i5.EmojisResponse>.value(_FakeEmojisResponse_26( this, Invocation.method( #emojis, @@ -2023,7 +2100,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { ), )), returnValueForMissingStub: - _i18.Future<_i5.EmojisResponse>.value(_FakeEmojisResponse_24( + _i18.Future<_i5.EmojisResponse>.value(_FakeEmojisResponse_26( this, Invocation.method( #emojis, @@ -2039,7 +2116,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #emoji, [request], ), - returnValue: _i18.Future<_i5.EmojiResponse>.value(_FakeEmojiResponse_25( + returnValue: _i18.Future<_i5.EmojiResponse>.value(_FakeEmojiResponse_27( this, Invocation.method( #emoji, @@ -2047,7 +2124,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { ), )), returnValueForMissingStub: - _i18.Future<_i5.EmojiResponse>.value(_FakeEmojiResponse_25( + _i18.Future<_i5.EmojiResponse>.value(_FakeEmojiResponse_27( this, Invocation.method( #emoji, @@ -2062,7 +2139,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #meta, [], ), - returnValue: _i18.Future<_i5.MetaResponse>.value(_FakeMetaResponse_26( + returnValue: _i18.Future<_i5.MetaResponse>.value(_FakeMetaResponse_28( this, Invocation.method( #meta, @@ -2070,7 +2147,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { ), )), returnValueForMissingStub: - _i18.Future<_i5.MetaResponse>.value(_FakeMetaResponse_26( + _i18.Future<_i5.MetaResponse>.value(_FakeMetaResponse_28( this, Invocation.method( #meta, @@ -2085,7 +2162,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #stats, [], ), - returnValue: _i18.Future<_i9.StatsResponse>.value(_FakeStatsResponse_27( + returnValue: _i18.Future<_i9.StatsResponse>.value(_FakeStatsResponse_29( this, Invocation.method( #stats, @@ -2093,7 +2170,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { ), )), returnValueForMissingStub: - _i18.Future<_i9.StatsResponse>.value(_FakeStatsResponse_27( + _i18.Future<_i9.StatsResponse>.value(_FakeStatsResponse_29( this, Invocation.method( #stats, @@ -2108,7 +2185,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #ping, [], ), - returnValue: _i18.Future<_i10.PingResponse>.value(_FakePingResponse_28( + returnValue: _i18.Future<_i10.PingResponse>.value(_FakePingResponse_30( this, Invocation.method( #ping, @@ -2116,7 +2193,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { ), )), returnValueForMissingStub: - _i18.Future<_i10.PingResponse>.value(_FakePingResponse_28( + _i18.Future<_i10.PingResponse>.value(_FakePingResponse_30( this, Invocation.method( #ping, @@ -2132,7 +2209,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { [], ), returnValue: _i18.Future<_i5.ServerInfoResponse>.value( - _FakeServerInfoResponse_29( + _FakeServerInfoResponse_31( this, Invocation.method( #serverInfo, @@ -2140,7 +2217,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { ), )), returnValueForMissingStub: _i18.Future<_i5.ServerInfoResponse>.value( - _FakeServerInfoResponse_29( + _FakeServerInfoResponse_31( this, Invocation.method( #serverInfo, @@ -2157,7 +2234,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { [], ), returnValue: _i18.Future<_i5.GetOnlineUsersCountResponse>.value( - _FakeGetOnlineUsersCountResponse_30( + _FakeGetOnlineUsersCountResponse_32( this, Invocation.method( #getOnlineUsersCount, @@ -2166,7 +2243,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { )), returnValueForMissingStub: _i18.Future<_i5.GetOnlineUsersCountResponse>.value( - _FakeGetOnlineUsersCountResponse_30( + _FakeGetOnlineUsersCountResponse_32( this, Invocation.method( #getOnlineUsersCount, @@ -2241,7 +2318,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #onUpdated: onUpdated, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #homeTimelineStream, @@ -2257,7 +2334,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #homeTimelineStream, @@ -2314,7 +2391,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #onUpdated: onUpdated, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #localTimelineStream, @@ -2330,7 +2407,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #localTimelineStream, @@ -2387,7 +2464,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #onUpdated: onUpdated, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #globalTimelineStream, @@ -2403,7 +2480,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #globalTimelineStream, @@ -2460,7 +2537,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #onUpdated: onUpdated, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #hybridTimelineStream, @@ -2476,7 +2553,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #hybridTimelineStream, @@ -2533,7 +2610,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #onUpdated: onUpdated, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #roleTimelineStream, @@ -2549,7 +2626,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #roleTimelineStream, @@ -2606,7 +2683,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #onUpdated: onUpdated, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #channelStream, @@ -2622,7 +2699,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #channelStream, @@ -2680,7 +2757,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #onVoted: onVoted, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #userListStream, @@ -2698,7 +2775,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #userListStream, @@ -2757,7 +2834,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #onUpdated: onUpdated, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #antennaStream, @@ -2773,7 +2850,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #antennaStream, @@ -2804,7 +2881,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { onEventReceived, ], ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #serverStatsLogStream, @@ -2814,7 +2891,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { ], ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #serverStatsLogStream, @@ -2840,7 +2917,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { onEventReceived, ], ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #queueStatsLogStream, @@ -2850,7 +2927,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { ], ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #queueStatsLogStream, @@ -2914,7 +2991,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { #onReadAllAnnouncements: onReadAllAnnouncements, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #mainStream, @@ -2943,7 +3020,7 @@ class MockMisskey extends _i1.Mock implements _i5.Misskey { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #mainStream, @@ -2996,7 +3073,7 @@ class MockMisskeyAntenna extends _i1.Mock implements _i5.MisskeyAntenna { #create, [request], ), - returnValue: _i18.Future<_i5.Antenna>.value(_FakeAntenna_32( + returnValue: _i18.Future<_i5.Antenna>.value(_FakeAntenna_34( this, Invocation.method( #create, @@ -3004,7 +3081,7 @@ class MockMisskeyAntenna extends _i1.Mock implements _i5.MisskeyAntenna { ), )), returnValueForMissingStub: - _i18.Future<_i5.Antenna>.value(_FakeAntenna_32( + _i18.Future<_i5.Antenna>.value(_FakeAntenna_34( this, Invocation.method( #create, @@ -3054,7 +3131,7 @@ class MockMisskeyAntenna extends _i1.Mock implements _i5.MisskeyAntenna { #show, [request], ), - returnValue: _i18.Future<_i5.Antenna>.value(_FakeAntenna_32( + returnValue: _i18.Future<_i5.Antenna>.value(_FakeAntenna_34( this, Invocation.method( #show, @@ -3062,7 +3139,7 @@ class MockMisskeyAntenna extends _i1.Mock implements _i5.MisskeyAntenna { ), )), returnValueForMissingStub: - _i18.Future<_i5.Antenna>.value(_FakeAntenna_32( + _i18.Future<_i5.Antenna>.value(_FakeAntenna_34( this, Invocation.method( #show, @@ -3095,7 +3172,7 @@ class MockMisskeyAp extends _i1.Mock implements _i5.MisskeyAp { [request], ), returnValue: - _i18.Future<_i5.ApShowResponse>.value(_FakeApShowResponse_33( + _i18.Future<_i5.ApShowResponse>.value(_FakeApShowResponse_35( this, Invocation.method( #show, @@ -3103,7 +3180,7 @@ class MockMisskeyAp extends _i1.Mock implements _i5.MisskeyAp { ), )), returnValueForMissingStub: - _i18.Future<_i5.ApShowResponse>.value(_FakeApShowResponse_33( + _i18.Future<_i5.ApShowResponse>.value(_FakeApShowResponse_35( this, Invocation.method( #show, @@ -3165,7 +3242,7 @@ class MockMisskeyChannels extends _i1.Mock implements _i5.MisskeyChannels { [request], ), returnValue: - _i18.Future<_i5.CommunityChannel>.value(_FakeCommunityChannel_34( + _i18.Future<_i5.CommunityChannel>.value(_FakeCommunityChannel_36( this, Invocation.method( #show, @@ -3173,7 +3250,7 @@ class MockMisskeyChannels extends _i1.Mock implements _i5.MisskeyChannels { ), )), returnValueForMissingStub: - _i18.Future<_i5.CommunityChannel>.value(_FakeCommunityChannel_34( + _i18.Future<_i5.CommunityChannel>.value(_FakeCommunityChannel_36( this, Invocation.method( #show, @@ -3264,7 +3341,7 @@ class MockMisskeyChannels extends _i1.Mock implements _i5.MisskeyChannels { [request], ), returnValue: - _i18.Future<_i5.CommunityChannel>.value(_FakeCommunityChannel_34( + _i18.Future<_i5.CommunityChannel>.value(_FakeCommunityChannel_36( this, Invocation.method( #create, @@ -3272,7 +3349,7 @@ class MockMisskeyChannels extends _i1.Mock implements _i5.MisskeyChannels { ), )), returnValueForMissingStub: - _i18.Future<_i5.CommunityChannel>.value(_FakeCommunityChannel_34( + _i18.Future<_i5.CommunityChannel>.value(_FakeCommunityChannel_36( this, Invocation.method( #create, @@ -3404,14 +3481,14 @@ class MockMisskeyClips extends _i1.Mock implements _i5.MisskeyClips { #create, [request], ), - returnValue: _i18.Future<_i5.Clip>.value(_FakeClip_35( + returnValue: _i18.Future<_i5.Clip>.value(_FakeClip_37( this, Invocation.method( #create, [request], ), )), - returnValueForMissingStub: _i18.Future<_i5.Clip>.value(_FakeClip_35( + returnValueForMissingStub: _i18.Future<_i5.Clip>.value(_FakeClip_37( this, Invocation.method( #create, @@ -3438,14 +3515,14 @@ class MockMisskeyClips extends _i1.Mock implements _i5.MisskeyClips { #update, [request], ), - returnValue: _i18.Future<_i5.Clip>.value(_FakeClip_35( + returnValue: _i18.Future<_i5.Clip>.value(_FakeClip_37( this, Invocation.method( #update, [request], ), )), - returnValueForMissingStub: _i18.Future<_i5.Clip>.value(_FakeClip_35( + returnValueForMissingStub: _i18.Future<_i5.Clip>.value(_FakeClip_37( this, Invocation.method( #update, @@ -3461,14 +3538,14 @@ class MockMisskeyClips extends _i1.Mock implements _i5.MisskeyClips { #show, [request], ), - returnValue: _i18.Future<_i5.Clip>.value(_FakeClip_35( + returnValue: _i18.Future<_i5.Clip>.value(_FakeClip_37( this, Invocation.method( #show, [request], ), )), - returnValueForMissingStub: _i18.Future<_i5.Clip>.value(_FakeClip_35( + returnValueForMissingStub: _i18.Future<_i5.Clip>.value(_FakeClip_37( this, Invocation.method( #show, @@ -3507,11 +3584,11 @@ class MockMisskeyDrive extends _i1.Mock implements _i5.MisskeyDrive { @override _i5.MisskeyDriveFiles get files => (super.noSuchMethod( Invocation.getter(#files), - returnValue: _FakeMisskeyDriveFiles_36( + returnValue: _FakeMisskeyDriveFiles_38( this, Invocation.getter(#files), ), - returnValueForMissingStub: _FakeMisskeyDriveFiles_36( + returnValueForMissingStub: _FakeMisskeyDriveFiles_38( this, Invocation.getter(#files), ), @@ -3520,11 +3597,11 @@ class MockMisskeyDrive extends _i1.Mock implements _i5.MisskeyDrive { @override _i5.MisskeyDriveFolders get folders => (super.noSuchMethod( Invocation.getter(#folders), - returnValue: _FakeMisskeyDriveFolders_37( + returnValue: _FakeMisskeyDriveFolders_39( this, Invocation.getter(#folders), ), - returnValueForMissingStub: _FakeMisskeyDriveFolders_37( + returnValueForMissingStub: _FakeMisskeyDriveFolders_39( this, Invocation.getter(#folders), ), @@ -3571,7 +3648,7 @@ class MockMisskeyDriveFolders extends _i1.Mock #create, [request], ), - returnValue: _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_38( + returnValue: _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_40( this, Invocation.method( #create, @@ -3579,7 +3656,7 @@ class MockMisskeyDriveFolders extends _i1.Mock ), )), returnValueForMissingStub: - _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_38( + _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_40( this, Invocation.method( #create, @@ -3620,7 +3697,7 @@ class MockMisskeyDriveFolders extends _i1.Mock #show, [request], ), - returnValue: _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_38( + returnValue: _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_40( this, Invocation.method( #show, @@ -3628,7 +3705,7 @@ class MockMisskeyDriveFolders extends _i1.Mock ), )), returnValueForMissingStub: - _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_38( + _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_40( this, Invocation.method( #show, @@ -3644,7 +3721,7 @@ class MockMisskeyDriveFolders extends _i1.Mock #update, [request], ), - returnValue: _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_38( + returnValue: _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_40( this, Invocation.method( #update, @@ -3652,7 +3729,7 @@ class MockMisskeyDriveFolders extends _i1.Mock ), )), returnValueForMissingStub: - _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_38( + _i18.Future<_i5.DriveFolder>.value(_FakeDriveFolder_40( this, Invocation.method( #update, @@ -3679,7 +3756,7 @@ class MockMisskeyDriveFiles extends _i1.Mock implements _i5.MisskeyDriveFiles { fileContent, ], ), - returnValue: _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_39( + returnValue: _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_41( this, Invocation.method( #create, @@ -3690,7 +3767,7 @@ class MockMisskeyDriveFiles extends _i1.Mock implements _i5.MisskeyDriveFiles { ), )), returnValueForMissingStub: - _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_39( + _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_41( this, Invocation.method( #create, @@ -3715,7 +3792,7 @@ class MockMisskeyDriveFiles extends _i1.Mock implements _i5.MisskeyDriveFiles { fileContent, ], ), - returnValue: _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_39( + returnValue: _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_41( this, Invocation.method( #createAsBinary, @@ -3726,7 +3803,7 @@ class MockMisskeyDriveFiles extends _i1.Mock implements _i5.MisskeyDriveFiles { ), )), returnValueForMissingStub: - _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_39( + _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_41( this, Invocation.method( #createAsBinary, @@ -3745,7 +3822,7 @@ class MockMisskeyDriveFiles extends _i1.Mock implements _i5.MisskeyDriveFiles { #update, [request], ), - returnValue: _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_39( + returnValue: _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_41( this, Invocation.method( #update, @@ -3753,7 +3830,7 @@ class MockMisskeyDriveFiles extends _i1.Mock implements _i5.MisskeyDriveFiles { ), )), returnValueForMissingStub: - _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_39( + _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_41( this, Invocation.method( #update, @@ -3846,7 +3923,7 @@ class MockMisskeyDriveFiles extends _i1.Mock implements _i5.MisskeyDriveFiles { #show, [request], ), - returnValue: _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_39( + returnValue: _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_41( this, Invocation.method( #show, @@ -3854,7 +3931,7 @@ class MockMisskeyDriveFiles extends _i1.Mock implements _i5.MisskeyDriveFiles { ), )), returnValueForMissingStub: - _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_39( + _i18.Future<_i5.DriveFile>.value(_FakeDriveFile_41( this, Invocation.method( #show, @@ -3889,7 +3966,7 @@ class MockMisskeyFederation extends _i1.Mock implements _i5.MisskeyFederation { [request], ), returnValue: _i18.Future<_i5.FederationShowInstanceResponse>.value( - _FakeFederationShowInstanceResponse_40( + _FakeFederationShowInstanceResponse_42( this, Invocation.method( #showInstance, @@ -3898,7 +3975,7 @@ class MockMisskeyFederation extends _i1.Mock implements _i5.MisskeyFederation { )), returnValueForMissingStub: _i18.Future<_i5.FederationShowInstanceResponse>.value( - _FakeFederationShowInstanceResponse_40( + _FakeFederationShowInstanceResponse_42( this, Invocation.method( #showInstance, @@ -3929,11 +4006,11 @@ class MockMisskeyFollowing extends _i1.Mock implements _i5.MisskeyFollowing { @override _i5.MisskeyFollowingRequests get requests => (super.noSuchMethod( Invocation.getter(#requests), - returnValue: _FakeMisskeyFollowingRequests_41( + returnValue: _FakeMisskeyFollowingRequests_43( this, Invocation.getter(#requests), ), - returnValueForMissingStub: _FakeMisskeyFollowingRequests_41( + returnValueForMissingStub: _FakeMisskeyFollowingRequests_43( this, Invocation.getter(#requests), ), @@ -3946,7 +4023,7 @@ class MockMisskeyFollowing extends _i1.Mock implements _i5.MisskeyFollowing { #create, [request], ), - returnValue: _i18.Future<_i5.UserLite>.value(_FakeUserLite_42( + returnValue: _i18.Future<_i5.UserLite>.value(_FakeUserLite_44( this, Invocation.method( #create, @@ -3954,7 +4031,7 @@ class MockMisskeyFollowing extends _i1.Mock implements _i5.MisskeyFollowing { ), )), returnValueForMissingStub: - _i18.Future<_i5.UserLite>.value(_FakeUserLite_42( + _i18.Future<_i5.UserLite>.value(_FakeUserLite_44( this, Invocation.method( #create, @@ -3970,7 +4047,7 @@ class MockMisskeyFollowing extends _i1.Mock implements _i5.MisskeyFollowing { #delete, [request], ), - returnValue: _i18.Future<_i5.UserLite>.value(_FakeUserLite_42( + returnValue: _i18.Future<_i5.UserLite>.value(_FakeUserLite_44( this, Invocation.method( #delete, @@ -3978,7 +4055,7 @@ class MockMisskeyFollowing extends _i1.Mock implements _i5.MisskeyFollowing { ), )), returnValueForMissingStub: - _i18.Future<_i5.UserLite>.value(_FakeUserLite_42( + _i18.Future<_i5.UserLite>.value(_FakeUserLite_44( this, Invocation.method( #delete, @@ -3995,7 +4072,7 @@ class MockMisskeyFollowing extends _i1.Mock implements _i5.MisskeyFollowing { #invalidate, [request], ), - returnValue: _i18.Future<_i5.UserLite>.value(_FakeUserLite_42( + returnValue: _i18.Future<_i5.UserLite>.value(_FakeUserLite_44( this, Invocation.method( #invalidate, @@ -4003,7 +4080,7 @@ class MockMisskeyFollowing extends _i1.Mock implements _i5.MisskeyFollowing { ), )), returnValueForMissingStub: - _i18.Future<_i5.UserLite>.value(_FakeUserLite_42( + _i18.Future<_i5.UserLite>.value(_FakeUserLite_44( this, Invocation.method( #invalidate, @@ -4059,7 +4136,7 @@ class MockMisskeyHashtags extends _i1.Mock implements _i5.MisskeyHashtags { #show, [request], ), - returnValue: _i18.Future<_i5.Hashtag>.value(_FakeHashtag_43( + returnValue: _i18.Future<_i5.Hashtag>.value(_FakeHashtag_45( this, Invocation.method( #show, @@ -4067,7 +4144,7 @@ class MockMisskeyHashtags extends _i1.Mock implements _i5.MisskeyHashtags { ), )), returnValueForMissingStub: - _i18.Future<_i5.Hashtag>.value(_FakeHashtag_43( + _i18.Future<_i5.Hashtag>.value(_FakeHashtag_45( this, Invocation.method( #show, @@ -4109,13 +4186,26 @@ class MockMisskeyHashtags extends _i1.Mock implements _i5.MisskeyHashtags { /// /// See the documentation for Mockito's code generation for more information. class MockMisskeyI extends _i1.Mock implements _i5.MisskeyI { + @override + _i5.MisskeyIRegistry get registry => (super.noSuchMethod( + Invocation.getter(#registry), + returnValue: _FakeMisskeyIRegistry_46( + this, + Invocation.getter(#registry), + ), + returnValueForMissingStub: _FakeMisskeyIRegistry_46( + this, + Invocation.getter(#registry), + ), + ) as _i5.MisskeyIRegistry); + @override _i18.Future<_i5.MeDetailed> i() => (super.noSuchMethod( Invocation.method( #i, [], ), - returnValue: _i18.Future<_i5.MeDetailed>.value(_FakeMeDetailed_44( + returnValue: _i18.Future<_i5.MeDetailed>.value(_FakeMeDetailed_47( this, Invocation.method( #i, @@ -4123,7 +4213,7 @@ class MockMisskeyI extends _i1.Mock implements _i5.MisskeyI { ), )), returnValueForMissingStub: - _i18.Future<_i5.MeDetailed>.value(_FakeMeDetailed_44( + _i18.Future<_i5.MeDetailed>.value(_FakeMeDetailed_47( this, Invocation.method( #i, @@ -4180,7 +4270,7 @@ class MockMisskeyI extends _i1.Mock implements _i5.MisskeyI { #update, [request], ), - returnValue: _i18.Future<_i5.MeDetailed>.value(_FakeMeDetailed_44( + returnValue: _i18.Future<_i5.MeDetailed>.value(_FakeMeDetailed_47( this, Invocation.method( #update, @@ -4188,7 +4278,7 @@ class MockMisskeyI extends _i1.Mock implements _i5.MisskeyI { ), )), returnValueForMissingStub: - _i18.Future<_i5.MeDetailed>.value(_FakeMeDetailed_44( + _i18.Future<_i5.MeDetailed>.value(_FakeMeDetailed_47( this, Invocation.method( #update, @@ -4205,11 +4295,11 @@ class MockMisskeyNotes extends _i1.Mock implements _i5.MisskeyNotes { @override _i5.MisskeyNotesReactions get reactions => (super.noSuchMethod( Invocation.getter(#reactions), - returnValue: _FakeMisskeyNotesReactions_45( + returnValue: _FakeMisskeyNotesReactions_48( this, Invocation.getter(#reactions), ), - returnValueForMissingStub: _FakeMisskeyNotesReactions_45( + returnValueForMissingStub: _FakeMisskeyNotesReactions_48( this, Invocation.getter(#reactions), ), @@ -4218,11 +4308,11 @@ class MockMisskeyNotes extends _i1.Mock implements _i5.MisskeyNotes { @override _i5.MisskeyNotesFavorites get favorites => (super.noSuchMethod( Invocation.getter(#favorites), - returnValue: _FakeMisskeyNotesFavorites_46( + returnValue: _FakeMisskeyNotesFavorites_49( this, Invocation.getter(#favorites), ), - returnValueForMissingStub: _FakeMisskeyNotesFavorites_46( + returnValueForMissingStub: _FakeMisskeyNotesFavorites_49( this, Invocation.getter(#favorites), ), @@ -4231,11 +4321,11 @@ class MockMisskeyNotes extends _i1.Mock implements _i5.MisskeyNotes { @override _i5.MisskeyNotesPolls get polls => (super.noSuchMethod( Invocation.getter(#polls), - returnValue: _FakeMisskeyNotesPolls_47( + returnValue: _FakeMisskeyNotesPolls_50( this, Invocation.getter(#polls), ), - returnValueForMissingStub: _FakeMisskeyNotesPolls_47( + returnValueForMissingStub: _FakeMisskeyNotesPolls_50( this, Invocation.getter(#polls), ), @@ -4244,11 +4334,11 @@ class MockMisskeyNotes extends _i1.Mock implements _i5.MisskeyNotes { @override _i5.MisskeyNotesThreadMuting get threadMuting => (super.noSuchMethod( Invocation.getter(#threadMuting), - returnValue: _FakeMisskeyNotesThreadMuting_48( + returnValue: _FakeMisskeyNotesThreadMuting_51( this, Invocation.getter(#threadMuting), ), - returnValueForMissingStub: _FakeMisskeyNotesThreadMuting_48( + returnValueForMissingStub: _FakeMisskeyNotesThreadMuting_51( this, Invocation.getter(#threadMuting), ), @@ -4306,14 +4396,14 @@ class MockMisskeyNotes extends _i1.Mock implements _i5.MisskeyNotes { #show, [request], ), - returnValue: _i18.Future<_i5.Note>.value(_FakeNote_49( + returnValue: _i18.Future<_i5.Note>.value(_FakeNote_52( this, Invocation.method( #show, [request], ), )), - returnValueForMissingStub: _i18.Future<_i5.Note>.value(_FakeNote_49( + returnValueForMissingStub: _i18.Future<_i5.Note>.value(_FakeNote_52( this, Invocation.method( #show, @@ -4395,7 +4485,7 @@ class MockMisskeyNotes extends _i1.Mock implements _i5.MisskeyNotes { [request], ), returnValue: _i18.Future<_i5.NotesStateResponse>.value( - _FakeNotesStateResponse_50( + _FakeNotesStateResponse_53( this, Invocation.method( #state, @@ -4403,7 +4493,7 @@ class MockMisskeyNotes extends _i1.Mock implements _i5.MisskeyNotes { ), )), returnValueForMissingStub: _i18.Future<_i5.NotesStateResponse>.value( - _FakeNotesStateResponse_50( + _FakeNotesStateResponse_53( this, Invocation.method( #state, @@ -4542,7 +4632,7 @@ class MockMisskeyNotes extends _i1.Mock implements _i5.MisskeyNotes { [request], ), returnValue: _i18.Future<_i5.NotesTranslateResponse>.value( - _FakeNotesTranslateResponse_51( + _FakeNotesTranslateResponse_54( this, Invocation.method( #translate, @@ -4551,7 +4641,7 @@ class MockMisskeyNotes extends _i1.Mock implements _i5.MisskeyNotes { )), returnValueForMissingStub: _i18.Future<_i5.NotesTranslateResponse>.value( - _FakeNotesTranslateResponse_51( + _FakeNotesTranslateResponse_54( this, Invocation.method( #translate, @@ -4728,7 +4818,7 @@ class MockMisskeyRoles extends _i1.Mock implements _i5.MisskeyRoles { [request], ), returnValue: - _i18.Future<_i5.RolesListResponse>.value(_FakeRolesListResponse_52( + _i18.Future<_i5.RolesListResponse>.value(_FakeRolesListResponse_55( this, Invocation.method( #show, @@ -4736,7 +4826,7 @@ class MockMisskeyRoles extends _i1.Mock implements _i5.MisskeyRoles { ), )), returnValueForMissingStub: - _i18.Future<_i5.RolesListResponse>.value(_FakeRolesListResponse_52( + _i18.Future<_i5.RolesListResponse>.value(_FakeRolesListResponse_55( this, Invocation.method( #show, @@ -4765,11 +4855,11 @@ class MockMisskeyUsers extends _i1.Mock implements _i5.MisskeyUsers { @override _i5.MisskeyUsersLists get list => (super.noSuchMethod( Invocation.getter(#list), - returnValue: _FakeMisskeyUsersLists_53( + returnValue: _FakeMisskeyUsersLists_56( this, Invocation.getter(#list), ), - returnValueForMissingStub: _FakeMisskeyUsersLists_53( + returnValueForMissingStub: _FakeMisskeyUsersLists_56( this, Invocation.getter(#list), ), @@ -4782,7 +4872,7 @@ class MockMisskeyUsers extends _i1.Mock implements _i5.MisskeyUsers { #show, [request], ), - returnValue: _i18.Future<_i5.UserDetailed>.value(_FakeUserDetailed_54( + returnValue: _i18.Future<_i5.UserDetailed>.value(_FakeUserDetailed_57( this, Invocation.method( #show, @@ -4790,7 +4880,7 @@ class MockMisskeyUsers extends _i1.Mock implements _i5.MisskeyUsers { ), )), returnValueForMissingStub: - _i18.Future<_i5.UserDetailed>.value(_FakeUserDetailed_54( + _i18.Future<_i5.UserDetailed>.value(_FakeUserDetailed_57( this, Invocation.method( #show, @@ -4821,7 +4911,7 @@ class MockMisskeyUsers extends _i1.Mock implements _i5.MisskeyUsers { #showByName, [request], ), - returnValue: _i18.Future<_i5.UserDetailed>.value(_FakeUserDetailed_54( + returnValue: _i18.Future<_i5.UserDetailed>.value(_FakeUserDetailed_57( this, Invocation.method( #showByName, @@ -4829,7 +4919,7 @@ class MockMisskeyUsers extends _i1.Mock implements _i5.MisskeyUsers { ), )), returnValueForMissingStub: - _i18.Future<_i5.UserDetailed>.value(_FakeUserDetailed_54( + _i18.Future<_i5.UserDetailed>.value(_FakeUserDetailed_57( this, Invocation.method( #showByName, @@ -5011,11 +5101,11 @@ class MockDio extends _i1.Mock implements _i11.Dio { @override _i11.BaseOptions get options => (super.noSuchMethod( Invocation.getter(#options), - returnValue: _FakeBaseOptions_55( + returnValue: _FakeBaseOptions_58( this, Invocation.getter(#options), ), - returnValueForMissingStub: _FakeBaseOptions_55( + returnValueForMissingStub: _FakeBaseOptions_58( this, Invocation.getter(#options), ), @@ -5033,11 +5123,11 @@ class MockDio extends _i1.Mock implements _i11.Dio { @override _i11.HttpClientAdapter get httpClientAdapter => (super.noSuchMethod( Invocation.getter(#httpClientAdapter), - returnValue: _FakeHttpClientAdapter_56( + returnValue: _FakeHttpClientAdapter_59( this, Invocation.getter(#httpClientAdapter), ), - returnValueForMissingStub: _FakeHttpClientAdapter_56( + returnValueForMissingStub: _FakeHttpClientAdapter_59( this, Invocation.getter(#httpClientAdapter), ), @@ -5056,11 +5146,11 @@ class MockDio extends _i1.Mock implements _i11.Dio { @override _i11.Transformer get transformer => (super.noSuchMethod( Invocation.getter(#transformer), - returnValue: _FakeTransformer_57( + returnValue: _FakeTransformer_60( this, Invocation.getter(#transformer), ), - returnValueForMissingStub: _FakeTransformer_57( + returnValueForMissingStub: _FakeTransformer_60( this, Invocation.getter(#transformer), ), @@ -5078,11 +5168,11 @@ class MockDio extends _i1.Mock implements _i11.Dio { @override _i11.Interceptors get interceptors => (super.noSuchMethod( Invocation.getter(#interceptors), - returnValue: _FakeInterceptors_58( + returnValue: _FakeInterceptors_61( this, Invocation.getter(#interceptors), ), - returnValueForMissingStub: _FakeInterceptors_58( + returnValueForMissingStub: _FakeInterceptors_61( this, Invocation.getter(#interceptors), ), @@ -5117,7 +5207,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #cancelToken: cancelToken, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #head, @@ -5131,7 +5221,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #head, @@ -5163,7 +5253,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #cancelToken: cancelToken, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #headUri, @@ -5176,7 +5266,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #headUri, @@ -5211,7 +5301,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #get, @@ -5226,7 +5316,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #get, @@ -5261,7 +5351,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #getUri, @@ -5275,7 +5365,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #getUri, @@ -5313,7 +5403,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #post, @@ -5329,7 +5419,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #post, @@ -5367,7 +5457,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #postUri, @@ -5382,7 +5472,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #postUri, @@ -5421,7 +5511,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #put, @@ -5437,7 +5527,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #put, @@ -5475,7 +5565,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #putUri, @@ -5490,7 +5580,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #putUri, @@ -5529,7 +5619,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #patch, @@ -5545,7 +5635,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #patch, @@ -5583,7 +5673,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #patchUri, @@ -5598,7 +5688,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #patchUri, @@ -5633,7 +5723,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #cancelToken: cancelToken, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #delete, @@ -5647,7 +5737,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #delete, @@ -5679,7 +5769,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #cancelToken: cancelToken, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #deleteUri, @@ -5692,7 +5782,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #deleteUri, @@ -5736,7 +5826,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { }, ), returnValue: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #download, @@ -5756,7 +5846,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #download, @@ -5805,7 +5895,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { }, ), returnValue: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #downloadUri, @@ -5824,7 +5914,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #downloadUri, @@ -5867,7 +5957,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #request, @@ -5883,7 +5973,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #request, @@ -5921,7 +6011,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #onReceiveProgress: onReceiveProgress, }, ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #requestUri, @@ -5936,7 +6026,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #requestUri, @@ -5959,7 +6049,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { #fetch, [requestOptions], ), - returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_59( + returnValue: _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #fetch, @@ -5967,7 +6057,7 @@ class MockDio extends _i1.Mock implements _i11.Dio { ), )), returnValueForMissingStub: - _i18.Future<_i11.Response>.value(_FakeResponse_59( + _i18.Future<_i11.Response>.value(_FakeResponse_62( this, Invocation.method( #fetch, @@ -5984,11 +6074,11 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { @override Duration get idleTimeout => (super.noSuchMethod( Invocation.getter(#idleTimeout), - returnValue: _FakeDuration_60( + returnValue: _FakeDuration_63( this, Invocation.getter(#idleTimeout), ), - returnValueForMissingStub: _FakeDuration_60( + returnValueForMissingStub: _FakeDuration_63( this, Invocation.getter(#idleTimeout), ), @@ -6143,7 +6233,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #open, @@ -6156,7 +6246,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #open, @@ -6184,7 +6274,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #openUrl, @@ -6195,7 +6285,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #openUrl, @@ -6223,7 +6313,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #get, @@ -6235,7 +6325,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #get, @@ -6255,7 +6345,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { [url], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #getUrl, @@ -6263,7 +6353,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #getUrl, @@ -6288,7 +6378,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #post, @@ -6300,7 +6390,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #post, @@ -6320,7 +6410,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { [url], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #postUrl, @@ -6328,7 +6418,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #postUrl, @@ -6353,7 +6443,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #put, @@ -6365,7 +6455,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #put, @@ -6385,7 +6475,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { [url], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #putUrl, @@ -6393,7 +6483,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #putUrl, @@ -6418,7 +6508,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #delete, @@ -6430,7 +6520,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #delete, @@ -6451,7 +6541,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { [url], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #deleteUrl, @@ -6459,7 +6549,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #deleteUrl, @@ -6484,7 +6574,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #patch, @@ -6496,7 +6586,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #patch, @@ -6516,7 +6606,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { [url], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #patchUrl, @@ -6524,7 +6614,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #patchUrl, @@ -6549,7 +6639,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #head, @@ -6561,7 +6651,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #head, @@ -6581,7 +6671,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { [url], ), returnValue: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #headUrl, @@ -6589,7 +6679,7 @@ class MockHttpClient extends _i1.Mock implements _i12.HttpClient { ), )), returnValueForMissingStub: - _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_61( + _i18.Future<_i12.HttpClientRequest>.value(_FakeHttpClientRequest_64( this, Invocation.method( #headUrl, @@ -6703,11 +6793,11 @@ class MockSocketController extends _i1.Mock implements _i5.SocketController { @override _i13.WebSocketChannel get webSocketChannel => (super.noSuchMethod( Invocation.getter(#webSocketChannel), - returnValue: _FakeWebSocketChannel_62( + returnValue: _FakeWebSocketChannel_65( this, Invocation.getter(#webSocketChannel), ), - returnValueForMissingStub: _FakeWebSocketChannel_62( + returnValueForMissingStub: _FakeWebSocketChannel_65( this, Invocation.getter(#webSocketChannel), ), @@ -6842,11 +6932,11 @@ class MockStreamingService extends _i1.Mock implements _i5.StreamingService { @override _i13.WebSocketChannel get webSocketChannel => (super.noSuchMethod( Invocation.getter(#webSocketChannel), - returnValue: _FakeWebSocketChannel_62( + returnValue: _FakeWebSocketChannel_65( this, Invocation.getter(#webSocketChannel), ), - returnValueForMissingStub: _FakeWebSocketChannel_62( + returnValueForMissingStub: _FakeWebSocketChannel_65( this, Invocation.getter(#webSocketChannel), ), @@ -6949,7 +7039,7 @@ class MockStreamingService extends _i1.Mock implements _i5.StreamingService { #parameters: parameters, }, ), - returnValue: _FakeSocketController_31( + returnValue: _FakeSocketController_33( this, Invocation.method( #connect, @@ -6964,7 +7054,7 @@ class MockStreamingService extends _i1.Mock implements _i5.StreamingService { }, ), ), - returnValueForMissingStub: _FakeSocketController_31( + returnValueForMissingStub: _FakeSocketController_33( this, Invocation.method( #connect, @@ -7118,7 +7208,7 @@ class MockBaseCacheManager extends _i1.Mock #headers: headers, }, ), - returnValue: _i18.Future<_i14.File>.value(_FakeFile_63( + returnValue: _i18.Future<_i14.File>.value(_FakeFile_66( this, Invocation.method( #getSingleFile, @@ -7129,7 +7219,7 @@ class MockBaseCacheManager extends _i1.Mock }, ), )), - returnValueForMissingStub: _i18.Future<_i14.File>.value(_FakeFile_63( + returnValueForMissingStub: _i18.Future<_i14.File>.value(_FakeFile_66( this, Invocation.method( #getSingleFile, @@ -7199,7 +7289,7 @@ class MockBaseCacheManager extends _i1.Mock #force: force, }, ), - returnValue: _i18.Future<_i15.FileInfo>.value(_FakeFileInfo_64( + returnValue: _i18.Future<_i15.FileInfo>.value(_FakeFileInfo_67( this, Invocation.method( #downloadFile, @@ -7212,7 +7302,7 @@ class MockBaseCacheManager extends _i1.Mock ), )), returnValueForMissingStub: - _i18.Future<_i15.FileInfo>.value(_FakeFileInfo_64( + _i18.Future<_i15.FileInfo>.value(_FakeFileInfo_67( this, Invocation.method( #downloadFile, @@ -7275,7 +7365,7 @@ class MockBaseCacheManager extends _i1.Mock #fileExtension: fileExtension, }, ), - returnValue: _i18.Future<_i14.File>.value(_FakeFile_63( + returnValue: _i18.Future<_i14.File>.value(_FakeFile_66( this, Invocation.method( #putFile, @@ -7291,7 +7381,7 @@ class MockBaseCacheManager extends _i1.Mock }, ), )), - returnValueForMissingStub: _i18.Future<_i14.File>.value(_FakeFile_63( + returnValueForMissingStub: _i18.Future<_i14.File>.value(_FakeFile_66( this, Invocation.method( #putFile, @@ -7332,7 +7422,7 @@ class MockBaseCacheManager extends _i1.Mock #fileExtension: fileExtension, }, ), - returnValue: _i18.Future<_i14.File>.value(_FakeFile_63( + returnValue: _i18.Future<_i14.File>.value(_FakeFile_66( this, Invocation.method( #putFileStream, @@ -7348,7 +7438,7 @@ class MockBaseCacheManager extends _i1.Mock }, ), )), - returnValueForMissingStub: _i18.Future<_i14.File>.value(_FakeFile_63( + returnValueForMissingStub: _i18.Future<_i14.File>.value(_FakeFile_66( this, Invocation.method( #putFileStream,