From 320dc9d5b9ca306d1c8cee89104ab6f854ad46b5 Mon Sep 17 00:00:00 2001 From: cevheri Date: Thu, 19 Dec 2024 02:49:45 +0300 Subject: [PATCH] refactor: reformat code, organize import --- lib/configuration/local_storage.dart | 1 - lib/data/models/menu.dart | 3 +- lib/l10n/intl_en.arb | 1 - lib/main/app_stateless_widget.dart | 7 +- lib/main/main_local.mapper.g.dart | 733 +++++++++++++++--- lib/main/main_prod.mapper.g.dart | 733 +++++++++++++++--- .../authority/authority_bloc.dart | 2 +- .../drawer/drawer_bloc/drawer_event.dart | 2 +- .../drawer/drawer_bloc/drawer_state.dart | 2 +- .../screen/account/account_screen.dart | 8 +- .../screen/components/editor_form_mode.dart | 3 +- lib/presentation/screen/home/home_screen.dart | 4 +- .../screen/login/bloc/login_bloc.dart | 1 - .../screen/settings/settings_screen.dart | 4 +- .../screen/user/list/list_user_screen.dart | 167 ++-- .../app_go_router_config.dart | 2 +- 16 files changed, 1395 insertions(+), 278 deletions(-) diff --git a/lib/configuration/local_storage.dart b/lib/configuration/local_storage.dart index dade62a..c18536d 100644 --- a/lib/configuration/local_storage.dart +++ b/lib/configuration/local_storage.dart @@ -41,7 +41,6 @@ class AppLocalStorageCached { /// LocalStorage predefined keys enum StorageKeys { jwtToken, roles, language, username, theme } - /// Application Local Storage /// /// This class is used to store data locally with the help of shared preferences. diff --git a/lib/data/models/menu.dart b/lib/data/models/menu.dart index 1ee9a16..3019bca 100644 --- a/lib/data/models/menu.dart +++ b/lib/data/models/menu.dart @@ -118,6 +118,7 @@ class Menu extends Equatable { } return result; } + static List fromJsonStringList(String json) { List result = []; var jsonList = jsonDecode(json) as List; @@ -130,8 +131,6 @@ class Menu extends Equatable { return result; } - - Map? toJson() => JsonMapper.toMap(this); @override diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 53eee28..9e56845 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -26,7 +26,6 @@ "max_length_500": "Field cannot be more than 500 characters long", "max_length_1000": "Field cannot be more than 1000 characters long", "max_length_4000": "Field cannot be more than 4000 characters long", - "required_range": "Range is required", "list": "List", "filter": "Filter", diff --git a/lib/main/app_stateless_widget.dart b/lib/main/app_stateless_widget.dart index b9fe428..25d50b4 100644 --- a/lib/main/app_stateless_widget.dart +++ b/lib/main/app_stateless_widget.dart @@ -1,7 +1,8 @@ import 'dart:io'; -import 'package:flutter/material.dart'; + import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart' show kIsWeb; +import 'package:flutter/material.dart'; /// App stateless widget /// This class is used to create a stateless widget that can be used in the app. @@ -51,7 +52,9 @@ abstract class AppStatelessWidget extends StatelessWidget { const AppStatelessWidget({super.key}); Widget buildCupertinoWidget(BuildContext context); + Widget buildMaterialWidget(BuildContext context); + Widget buildWebWidget(BuildContext context); @override @@ -64,4 +67,4 @@ abstract class AppStatelessWidget extends StatelessWidget { } return buildMaterialWidget(context); } -} \ No newline at end of file +} diff --git a/lib/main/main_local.mapper.g.dart b/lib/main/main_local.mapper.g.dart index 48692e2..f360a23 100644 --- a/lib/main/main_local.mapper.g.dart +++ b/lib/main/main_local.mapper.g.dart @@ -1,17 +1,30 @@ // This file has been generated by the dart_json_mapper v2.2.13 // https://github.com/k-paxian/dart-json-mapper // @dart = 2.12 +// This file has been generated by the reflectable package. +// https://github.com/dart-lang/reflectable. +import 'dart:core'; + import 'package:dart_json_mapper/dart_json_mapper.dart' show JsonMapper, JsonMapperAdapter, SerializationOptions, DeserializationOptions, typeOf; +import 'package:dart_json_mapper/src/model/annotations.dart' as prefix0; import 'package:flutter_bloc_advance/configuration/app_logger.dart' as x8 show LogFormat; import 'package:flutter_bloc_advance/configuration/environment.dart' as x9 show Environment; import 'package:flutter_bloc_advance/configuration/local_storage.dart' as x10 show StorageKeys, StorageType; +import 'package:flutter_bloc_advance/data/models/authority.dart' as prefix3; import 'package:flutter_bloc_advance/data/models/authority.dart' as x5 show Authority; +import 'package:flutter_bloc_advance/data/models/change_password.dart' as prefix1; import 'package:flutter_bloc_advance/data/models/change_password.dart' as x1 show PasswordChangeDTO; +import 'package:flutter_bloc_advance/data/models/city.dart' as prefix4; import 'package:flutter_bloc_advance/data/models/city.dart' as x6 show City; +import 'package:flutter_bloc_advance/data/models/district.dart' as prefix5; import 'package:flutter_bloc_advance/data/models/district.dart' as x7 show District; +import 'package:flutter_bloc_advance/data/models/jwt_token.dart' as prefix6; import 'package:flutter_bloc_advance/data/models/jwt_token.dart' as x3 show JWTToken; +import 'package:flutter_bloc_advance/data/models/menu.dart' as prefix8; import 'package:flutter_bloc_advance/data/models/menu.dart' as x4 show Menu; +import 'package:flutter_bloc_advance/data/models/user.dart' as prefix2; import 'package:flutter_bloc_advance/data/models/user.dart' as x0 show User; +import 'package:flutter_bloc_advance/data/models/user_jwt.dart' as prefix7; import 'package:flutter_bloc_advance/data/models/user_jwt.dart' as x2 show UserJWT; import 'package:flutter_bloc_advance/presentation/common_blocs/account/account_bloc.dart' as x12 show AccountStatus; import 'package:flutter_bloc_advance/presentation/common_blocs/authority/authority_bloc.dart' as x19 show AuthorityStatus; @@ -24,19 +37,6 @@ import 'package:flutter_bloc_advance/presentation/screen/forgot_password/bloc/fo import 'package:flutter_bloc_advance/presentation/screen/login/bloc/login_bloc.dart' as x16 show LoginStatus; import 'package:flutter_bloc_advance/presentation/screen/user/bloc/user_bloc.dart' as x13 show UserStatus; import 'package:flutter_bloc_advance/routes/app_router.dart' as x11 show RouterType; -// This file has been generated by the reflectable package. -// https://github.com/dart-lang/reflectable. -import 'dart:core'; -import 'package:dart_json_mapper/src/model/annotations.dart' as prefix0; -import 'package:flutter_bloc_advance/data/models/authority.dart' as prefix3; -import 'package:flutter_bloc_advance/data/models/change_password.dart' as prefix1; -import 'package:flutter_bloc_advance/data/models/city.dart' as prefix4; -import 'package:flutter_bloc_advance/data/models/district.dart' as prefix5; -import 'package:flutter_bloc_advance/data/models/jwt_token.dart' as prefix6; -import 'package:flutter_bloc_advance/data/models/menu.dart' as prefix8; -import 'package:flutter_bloc_advance/data/models/user.dart' as prefix2; -import 'package:flutter_bloc_advance/data/models/user_jwt.dart' as prefix7; - // ignore_for_file: camel_case_types // ignore_for_file: implementation_imports // ignore_for_file: prefer_adjacent_string_concatenation @@ -45,11 +45,558 @@ import 'package:flutter_bloc_advance/data/models/user_jwt.dart' as prefix7; // ignore_for_file: unused_import import 'package:reflectable/mirrors.dart' as m; -import 'package:reflectable/src/reflectable_builder_based.dart' as r; import 'package:reflectable/reflectable.dart' as r show Reflectable; +import 'package:reflectable/src/reflectable_builder_based.dart' as r; -final _data = {const prefix0.JsonSerializable(): r.ReflectorData([r.NonGenericClassMirrorImpl(r'PasswordChangeDTO', r'.PasswordChangeDTO', 134217735, 0, const prefix0.JsonSerializable(), const [0, 1, 35, 36, 39, 40, 41], const [42, 43, 44, 45, 46, 40, 35, 36, 37, 38, 39], const [], -1, {}, {}, {r'': (bool b) => ({currentPassword, newPassword}) => b ? prefix1.PasswordChangeDTO(currentPassword: currentPassword, newPassword: newPassword) : null}, -1, 0, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'User', r'.User', 134217735, 1, const prefix0.JsonSerializable(), const [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 47, 48, 61, 62, 63], const [42, 43, 44, 45, 46, 62, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61], const [], -1, {}, {}, {r'': (bool b) => ({id, login, firstName, lastName, email, activated, langKey, createdBy, createdDate, lastModifiedBy, lastModifiedDate, authorities}) => b ? prefix2.User(activated: activated, authorities: authorities, createdBy: createdBy, createdDate: createdDate, email: email, firstName: firstName, id: id, langKey: langKey, lastModifiedBy: lastModifiedBy, lastModifiedDate: lastModifiedDate, lastName: lastName, login: login) : null}, -1, 1, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'Authority', r'.Authority', 134217735, 2, const prefix0.JsonSerializable(), const [14, 64, 65, 66, 68, 69], const [42, 66, 44, 45, 46, 70, 64, 65, 67, 68], const [], -1, {}, {}, {r'': (bool b) => ({name}) => b ? prefix3.Authority(name: name) : null}, -1, 2, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'City', r'.City', 134217735, 3, const prefix0.JsonSerializable(), const [15, 16, 17, 71, 72, 76, 77, 78], const [42, 43, 44, 45, 46, 77, 71, 72, 73, 74, 75, 76], const [], -1, {}, {}, {r'': (bool b) => ({id, name, plateCode}) => b ? prefix4.City(id: id, name: name, plateCode: plateCode) : null}, -1, 3, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'District', r'.District', 134217735, 4, const prefix0.JsonSerializable(), const [18, 19, 20, 79, 80, 84, 85, 86], const [42, 43, 44, 45, 46, 85, 79, 80, 81, 82, 83, 84], const [], -1, {}, {}, {r'': (bool b) => ({id, name, code}) => b ? prefix5.District(code: code, id: id, name: name) : null}, -1, 4, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'JWTToken', r'.JWTToken', 134217735, 5, const prefix0.JsonSerializable(), const [21, 87, 88, 89, 91, 92, 93, 94], const [89, 43, 44, 91, 46, 93, 87, 88, 90, 92], const [], -1, {}, {}, {r'': (bool b) => ({idToken}) => b ? prefix6.JWTToken(idToken: idToken) : null}, -1, 5, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'UserJWT', r'.UserJWT', 134217735, 6, const prefix0.JsonSerializable(), const [22, 23, 95, 96, 99, 100, 101], const [42, 43, 44, 45, 46, 100, 95, 96, 97, 98, 99], const [], -1, {}, {}, {r'': (bool b) => (username, password) => b ? prefix7.UserJWT(username, password) : null}, -1, 6, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'Menu', r'.Menu', 134217735, 7, const prefix0.JsonSerializable(), const [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 102, 103, 115, 116, 117], const [42, 43, 44, 45, 46, 116, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115], const [], -1, {}, {}, {r'': (bool b) => ({id = '', name = '', description = '', url = '', icon = '', orderPriority = 0, active = false, parent, level = 0, leaf = false, authorities = const []}) => b ? prefix8.Menu(active: active, authorities: authorities, description: description, icon: icon, id: id, leaf: leaf, level: level, name: name, orderPriority: orderPriority, parent: parent, url: url) : null}, -1, 7, const [], const [prefix0.jsonSerializable], null)], [r.VariableMirrorImpl(r'currentPassword', 67240965, 0, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'currentPassword')]), r.VariableMirrorImpl(r'newPassword', 67240965, 0, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'newPassword')]), r.VariableMirrorImpl(r'id', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), r.VariableMirrorImpl(r'login', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'login')]), r.VariableMirrorImpl(r'firstName', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'firstName')]), r.VariableMirrorImpl(r'lastName', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'lastName')]), r.VariableMirrorImpl(r'email', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'email')]), r.VariableMirrorImpl(r'activated', 67240965, 1, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [const prefix0.JsonProperty(name: 'activated')]), r.VariableMirrorImpl(r'langKey', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'langKey')]), r.VariableMirrorImpl(r'createdBy', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'createdBy')]), r.VariableMirrorImpl(r'createdDate', 67240965, 1, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [const prefix0.JsonProperty(name: 'createdDate')]), r.VariableMirrorImpl(r'lastModifiedBy', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'lastModifiedBy')]), r.VariableMirrorImpl(r'lastModifiedDate', 67240965, 1, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [const prefix0.JsonProperty(name: 'lastModifiedDate')]), r.VariableMirrorImpl(r'authorities', 84018181, 1, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [const prefix0.JsonProperty(name: 'authorities')]), r.VariableMirrorImpl(r'name', 67240965, 2, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), r.VariableMirrorImpl(r'id', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), r.VariableMirrorImpl(r'name', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), r.VariableMirrorImpl(r'plateCode', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'plateCode')]), r.VariableMirrorImpl(r'id', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), r.VariableMirrorImpl(r'name', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), r.VariableMirrorImpl(r'code', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'code')]), r.VariableMirrorImpl(r'idToken', 67240965, 5, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id_token')]), r.VariableMirrorImpl(r'username', 67240965, 6, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'username')]), r.VariableMirrorImpl(r'password', 67240965, 6, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'password')]), r.VariableMirrorImpl(r'id', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'id')]), r.VariableMirrorImpl(r'name', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'name')]), r.VariableMirrorImpl(r'description', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'description')]), r.VariableMirrorImpl(r'url', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'url')]), r.VariableMirrorImpl(r'icon', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'icon')]), r.VariableMirrorImpl(r'orderPriority', 134349829, 7, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [const prefix0.JsonProperty(name: 'orderPriority')]), r.VariableMirrorImpl(r'active', 134349829, 7, const prefix0.JsonSerializable(), -1, 15, 15, const [], const [const prefix0.JsonProperty(name: 'active')]), r.VariableMirrorImpl(r'parent', 67240965, 7, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [const prefix0.JsonProperty(name: 'parent')]), r.VariableMirrorImpl(r'level', 134349829, 7, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [const prefix0.JsonProperty(name: 'level')]), r.VariableMirrorImpl(r'leaf', 67240965, 7, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [const prefix0.JsonProperty(name: 'leaf')]), r.VariableMirrorImpl(r'authorities', 84018181, 7, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [const prefix0.JsonProperty(name: 'authorities')]), r.MethodMirrorImpl(r'copyWith', 2097154, 0, 0, 0, 0, const [], const [0, 1], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 0, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 0, 37), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 1, 38), r.MethodMirrorImpl(r'props', 35651587, 0, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 0, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 0, -1, 0, 0, const [], const [2, 3], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'==', 2097154, -1, -1, 15, 15, const [], const [4], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'toString', 2097154, -1, -1, 13, 13, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'noSuchMethod', 524290, -1, -1, -1, -1, const [], const [5], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'hashCode', 2097155, -1, -1, 14, 14, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'runtimeType', 2097155, -1, -1, 21, 21, const [], const [], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 1, 1, 1, 1, const [], const [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 1, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 2, 49), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 3, 50), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 4, 51), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 5, 52), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 6, 53), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 7, 54), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 8, 55), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 9, 56), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 10, 57), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 11, 58), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 12, 59), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 13, 60), r.MethodMirrorImpl(r'props', 35651587, 1, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 1, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 1, -1, 1, 1, const [], const [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 2, 2, 2, 2, const [], const [30], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 2, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toString', 2097154, 2, -1, 13, 13, const [], const [], const prefix0.JsonSerializable(), const [override]), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 14, 67), r.MethodMirrorImpl(r'props', 35651587, 2, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 2, -1, 2, 2, const [], const [31], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'stringify', 2097155, -1, -1, 9, 9, const [], const [], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 3, 3, 3, 3, const [], const [32, 33, 34], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 3, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 15, 73), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 16, 74), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 17, 75), r.MethodMirrorImpl(r'props', 35651587, 3, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 3, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 3, -1, 3, 3, const [], const [35, 36, 37], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 4, 4, 4, 4, const [], const [38, 39, 40], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 4, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 18, 81), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 19, 82), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 20, 83), r.MethodMirrorImpl(r'props', 35651587, 4, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 4, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 4, -1, 4, 4, const [], const [41, 42, 43], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 5, 5, 5, 5, const [], const [44], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 5, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'==', 2097154, 5, -1, 15, 15, const [], const [45], const prefix0.JsonSerializable(), const [override]), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 21, 90), r.MethodMirrorImpl(r'hashCode', 2097155, 5, -1, 14, 14, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'props', 35651587, 5, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 5, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 5, -1, 5, 5, const [], const [46], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 6, 6, 6, 6, const [], const [47, 48], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 6, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 22, 97), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 23, 98), r.MethodMirrorImpl(r'props', 35651587, 6, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 6, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 6, -1, 6, 6, const [], const [49, 50], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 7, 7, 7, 7, const [], const [51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 7, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 24, 104), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 25, 105), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 26, 106), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 27, 107), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 28, 108), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 29, 109), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 30, 110), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 31, 111), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 32, 112), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 33, 113), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 34, 114), r.MethodMirrorImpl(r'props', 35651587, 7, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 7, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 7, -1, 7, 7, const [], const [62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72], const prefix0.JsonSerializable(), const [])], [r.ParameterMirrorImpl(r'currentPassword', 67252230, 35, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #currentPassword), r.ParameterMirrorImpl(r'newPassword', 67252230, 35, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #newPassword), r.ParameterMirrorImpl(r'currentPassword', 67253254, 41, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #currentPassword), r.ParameterMirrorImpl(r'newPassword', 67253254, 41, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #newPassword), r.ParameterMirrorImpl(r'other', 134348806, 42, const prefix0.JsonSerializable(), -1, 22, 22, const [], const [], null, null), r.ParameterMirrorImpl(r'invocation', 134348806, 44, const prefix0.JsonSerializable(), -1, 23, 23, const [], const [], null, null), r.ParameterMirrorImpl(r'id', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'login', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #login), r.ParameterMirrorImpl(r'firstName', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #firstName), r.ParameterMirrorImpl(r'lastName', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastName), r.ParameterMirrorImpl(r'email', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #email), r.ParameterMirrorImpl(r'activated', 67252230, 47, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #activated), r.ParameterMirrorImpl(r'langKey', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #langKey), r.ParameterMirrorImpl(r'createdBy', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #createdBy), r.ParameterMirrorImpl(r'createdDate', 67252230, 47, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #createdDate), r.ParameterMirrorImpl(r'lastModifiedBy', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastModifiedBy), r.ParameterMirrorImpl(r'lastModifiedDate', 67252230, 47, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #lastModifiedDate), r.ParameterMirrorImpl(r'authorities', 84029446, 47, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), r.ParameterMirrorImpl(r'id', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'login', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #login), r.ParameterMirrorImpl(r'firstName', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #firstName), r.ParameterMirrorImpl(r'lastName', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastName), r.ParameterMirrorImpl(r'email', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #email), r.ParameterMirrorImpl(r'activated', 67253254, 63, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #activated), r.ParameterMirrorImpl(r'langKey', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #langKey), r.ParameterMirrorImpl(r'createdBy', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #createdBy), r.ParameterMirrorImpl(r'createdDate', 67253254, 63, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #createdDate), r.ParameterMirrorImpl(r'lastModifiedBy', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastModifiedBy), r.ParameterMirrorImpl(r'lastModifiedDate', 67253254, 63, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #lastModifiedDate), r.ParameterMirrorImpl(r'authorities', 84030470, 63, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), r.ParameterMirrorImpl(r'name', 67252230, 64, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'name', 67253254, 69, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'id', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'plateCode', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #plateCode), r.ParameterMirrorImpl(r'id', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'plateCode', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #plateCode), r.ParameterMirrorImpl(r'id', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'code', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #code), r.ParameterMirrorImpl(r'id', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'code', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #code), r.ParameterMirrorImpl(r'idToken', 67252230, 87, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #idToken), r.ParameterMirrorImpl(r'other', 134348806, 89, const prefix0.JsonSerializable(), -1, 22, 22, const [], const [], null, null), r.ParameterMirrorImpl(r'idToken', 67253254, 94, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #idToken), r.ParameterMirrorImpl(r'username', 67252230, 95, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #username), r.ParameterMirrorImpl(r'password', 67252230, 95, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #password), r.ParameterMirrorImpl(r'username', 67240966, 101, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, null), r.ParameterMirrorImpl(r'password', 67240966, 101, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, null), r.ParameterMirrorImpl(r'id', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'description', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #description), r.ParameterMirrorImpl(r'url', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #url), r.ParameterMirrorImpl(r'icon', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #icon), r.ParameterMirrorImpl(r'orderPriority', 67252230, 102, const prefix0.JsonSerializable(), -1, 24, 24, const [], const [], null, #orderPriority), r.ParameterMirrorImpl(r'active', 67252230, 102, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #active), r.ParameterMirrorImpl(r'parent', 67252230, 102, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [], null, #parent), r.ParameterMirrorImpl(r'level', 67252230, 102, const prefix0.JsonSerializable(), -1, 24, 24, const [], const [], null, #level), r.ParameterMirrorImpl(r'leaf', 67252230, 102, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #leaf), r.ParameterMirrorImpl(r'authorities', 84029446, 102, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), r.ParameterMirrorImpl(r'id', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #id), r.ParameterMirrorImpl(r'name', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #name), r.ParameterMirrorImpl(r'description', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #description), r.ParameterMirrorImpl(r'url', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #url), r.ParameterMirrorImpl(r'icon', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #icon), r.ParameterMirrorImpl(r'orderPriority', 134364166, 117, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [], 0, #orderPriority), r.ParameterMirrorImpl(r'active', 134364166, 117, const prefix0.JsonSerializable(), -1, 15, 15, const [], const [], false, #active), r.ParameterMirrorImpl(r'parent', 67253254, 117, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [], null, #parent), r.ParameterMirrorImpl(r'level', 134364166, 117, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [], 0, #level), r.ParameterMirrorImpl(r'leaf', 67255302, 117, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], false, #leaf), r.ParameterMirrorImpl(r'authorities', 84032518, 117, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], const [], #authorities)], [prefix1.PasswordChangeDTO, prefix2.User, prefix3.Authority, prefix4.City, prefix5.District, prefix6.JWTToken, prefix7.UserJWT, prefix8.Menu, String, bool, DateTime, const m.TypeValue>().type, List, String, int, bool, const m.TypeValue>().type, Map, Object, const m.TypeValue().type, List, Type, Object, Invocation, int], 8, {r'==': (dynamic instance) => (x) => instance == x, r'toString': (dynamic instance) => instance.toString, r'noSuchMethod': (dynamic instance) => instance.noSuchMethod, r'hashCode': (dynamic instance) => instance.hashCode, r'runtimeType': (dynamic instance) => instance.runtimeType, r'stringify': (dynamic instance) => instance.stringify, r'copyWith': (dynamic instance) => instance.copyWith, r'toJson': (dynamic instance) => instance.toJson, r'currentPassword': (dynamic instance) => instance.currentPassword, r'newPassword': (dynamic instance) => instance.newPassword, r'props': (dynamic instance) => instance.props, r'id': (dynamic instance) => instance.id, r'login': (dynamic instance) => instance.login, r'firstName': (dynamic instance) => instance.firstName, r'lastName': (dynamic instance) => instance.lastName, r'email': (dynamic instance) => instance.email, r'activated': (dynamic instance) => instance.activated, r'langKey': (dynamic instance) => instance.langKey, r'createdBy': (dynamic instance) => instance.createdBy, r'createdDate': (dynamic instance) => instance.createdDate, r'lastModifiedBy': (dynamic instance) => instance.lastModifiedBy, r'lastModifiedDate': (dynamic instance) => instance.lastModifiedDate, r'authorities': (dynamic instance) => instance.authorities, r'name': (dynamic instance) => instance.name, r'plateCode': (dynamic instance) => instance.plateCode, r'code': (dynamic instance) => instance.code, r'idToken': (dynamic instance) => instance.idToken, r'username': (dynamic instance) => instance.username, r'password': (dynamic instance) => instance.password, r'description': (dynamic instance) => instance.description, r'url': (dynamic instance) => instance.url, r'icon': (dynamic instance) => instance.icon, r'orderPriority': (dynamic instance) => instance.orderPriority, r'active': (dynamic instance) => instance.active, r'parent': (dynamic instance) => instance.parent, r'level': (dynamic instance) => instance.level, r'leaf': (dynamic instance) => instance.leaf}, {}, null, [])}; - +final _data = { + const prefix0.JsonSerializable(): r.ReflectorData( + [ + r.NonGenericClassMirrorImpl( + r'PasswordChangeDTO', + r'.PasswordChangeDTO', + 134217735, + 0, + const prefix0.JsonSerializable(), + const [0, 1, 35, 36, 39, 40, 41], + const [42, 43, 44, 45, 46, 40, 35, 36, 37, 38, 39], + const [], + -1, + {}, + {}, + { + r'': (bool b) => ({currentPassword, newPassword}) => + b ? prefix1.PasswordChangeDTO(currentPassword: currentPassword, newPassword: newPassword) : null + }, + -1, + 0, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'User', + r'.User', + 134217735, + 1, + const prefix0.JsonSerializable(), + const [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 47, 48, 61, 62, 63], + const [42, 43, 44, 45, 46, 62, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61], + const [], + -1, + {}, + {}, + { + r'': (bool b) => ( + {id, + login, + firstName, + lastName, + email, + activated, + langKey, + createdBy, + createdDate, + lastModifiedBy, + lastModifiedDate, + authorities}) => + b + ? prefix2.User( + activated: activated, + authorities: authorities, + createdBy: createdBy, + createdDate: createdDate, + email: email, + firstName: firstName, + id: id, + langKey: langKey, + lastModifiedBy: lastModifiedBy, + lastModifiedDate: lastModifiedDate, + lastName: lastName, + login: login) + : null + }, + -1, + 1, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'Authority', + r'.Authority', + 134217735, + 2, + const prefix0.JsonSerializable(), + const [14, 64, 65, 66, 68, 69], + const [42, 66, 44, 45, 46, 70, 64, 65, 67, 68], + const [], + -1, + {}, + {}, + {r'': (bool b) => ({name}) => b ? prefix3.Authority(name: name) : null}, + -1, + 2, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'City', + r'.City', + 134217735, + 3, + const prefix0.JsonSerializable(), + const [15, 16, 17, 71, 72, 76, 77, 78], + const [42, 43, 44, 45, 46, 77, 71, 72, 73, 74, 75, 76], + const [], + -1, + {}, + {}, + {r'': (bool b) => ({id, name, plateCode}) => b ? prefix4.City(id: id, name: name, plateCode: plateCode) : null}, + -1, + 3, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'District', + r'.District', + 134217735, + 4, + const prefix0.JsonSerializable(), + const [18, 19, 20, 79, 80, 84, 85, 86], + const [42, 43, 44, 45, 46, 85, 79, 80, 81, 82, 83, 84], + const [], + -1, + {}, + {}, + {r'': (bool b) => ({id, name, code}) => b ? prefix5.District(code: code, id: id, name: name) : null}, + -1, + 4, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'JWTToken', + r'.JWTToken', + 134217735, + 5, + const prefix0.JsonSerializable(), + const [21, 87, 88, 89, 91, 92, 93, 94], + const [89, 43, 44, 91, 46, 93, 87, 88, 90, 92], + const [], + -1, + {}, + {}, + {r'': (bool b) => ({idToken}) => b ? prefix6.JWTToken(idToken: idToken) : null}, + -1, + 5, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'UserJWT', + r'.UserJWT', + 134217735, + 6, + const prefix0.JsonSerializable(), + const [22, 23, 95, 96, 99, 100, 101], + const [42, 43, 44, 45, 46, 100, 95, 96, 97, 98, 99], + const [], + -1, + {}, + {}, + {r'': (bool b) => (username, password) => b ? prefix7.UserJWT(username, password) : null}, + -1, + 6, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'Menu', + r'.Menu', + 134217735, + 7, + const prefix0.JsonSerializable(), + const [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 102, 103, 115, 116, 117], + const [42, 43, 44, 45, 46, 116, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115], + const [], + -1, + {}, + {}, + { + r'': (bool b) => ( + {id = '', + name = '', + description = '', + url = '', + icon = '', + orderPriority = 0, + active = false, + parent, + level = 0, + leaf = false, + authorities = const []}) => + b + ? prefix8.Menu( + active: active, + authorities: authorities, + description: description, + icon: icon, + id: id, + leaf: leaf, + level: level, + name: name, + orderPriority: orderPriority, + parent: parent, + url: url) + : null + }, + -1, + 7, + const [], + const [prefix0.jsonSerializable], + null) + ], + [ + r.VariableMirrorImpl(r'currentPassword', 67240965, 0, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'currentPassword')]), + r.VariableMirrorImpl(r'newPassword', 67240965, 0, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'newPassword')]), + r.VariableMirrorImpl( + r'id', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), + r.VariableMirrorImpl( + r'login', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'login')]), + r.VariableMirrorImpl(r'firstName', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'firstName')]), + r.VariableMirrorImpl(r'lastName', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'lastName')]), + r.VariableMirrorImpl( + r'email', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'email')]), + r.VariableMirrorImpl(r'activated', 67240965, 1, const prefix0.JsonSerializable(), -1, 9, 9, const [], + const [const prefix0.JsonProperty(name: 'activated')]), + r.VariableMirrorImpl(r'langKey', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'langKey')]), + r.VariableMirrorImpl(r'createdBy', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'createdBy')]), + r.VariableMirrorImpl(r'createdDate', 67240965, 1, const prefix0.JsonSerializable(), -1, 10, 10, const [], + const [const prefix0.JsonProperty(name: 'createdDate')]), + r.VariableMirrorImpl(r'lastModifiedBy', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'lastModifiedBy')]), + r.VariableMirrorImpl(r'lastModifiedDate', 67240965, 1, const prefix0.JsonSerializable(), -1, 10, 10, const [], + const [const prefix0.JsonProperty(name: 'lastModifiedDate')]), + r.VariableMirrorImpl(r'authorities', 84018181, 1, const prefix0.JsonSerializable(), -1, 11, 12, const [13], + const [const prefix0.JsonProperty(name: 'authorities')]), + r.VariableMirrorImpl( + r'name', 67240965, 2, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), + r.VariableMirrorImpl( + r'id', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), + r.VariableMirrorImpl( + r'name', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), + r.VariableMirrorImpl(r'plateCode', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'plateCode')]), + r.VariableMirrorImpl( + r'id', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), + r.VariableMirrorImpl( + r'name', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), + r.VariableMirrorImpl( + r'code', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'code')]), + r.VariableMirrorImpl(r'idToken', 67240965, 5, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'id_token')]), + r.VariableMirrorImpl(r'username', 67240965, 6, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'username')]), + r.VariableMirrorImpl(r'password', 67240965, 6, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'password')]), + r.VariableMirrorImpl( + r'id', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'id')]), + r.VariableMirrorImpl(r'name', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], + const [const prefix0.JsonProperty(name: 'name')]), + r.VariableMirrorImpl(r'description', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], + const [const prefix0.JsonProperty(name: 'description')]), + r.VariableMirrorImpl( + r'url', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'url')]), + r.VariableMirrorImpl(r'icon', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], + const [const prefix0.JsonProperty(name: 'icon')]), + r.VariableMirrorImpl(r'orderPriority', 134349829, 7, const prefix0.JsonSerializable(), -1, 14, 14, const [], + const [const prefix0.JsonProperty(name: 'orderPriority')]), + r.VariableMirrorImpl(r'active', 134349829, 7, const prefix0.JsonSerializable(), -1, 15, 15, const [], + const [const prefix0.JsonProperty(name: 'active')]), + r.VariableMirrorImpl(r'parent', 67240965, 7, const prefix0.JsonSerializable(), 7, 7, 7, const [], + const [const prefix0.JsonProperty(name: 'parent')]), + r.VariableMirrorImpl(r'level', 134349829, 7, const prefix0.JsonSerializable(), -1, 14, 14, const [], + const [const prefix0.JsonProperty(name: 'level')]), + r.VariableMirrorImpl( + r'leaf', 67240965, 7, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [const prefix0.JsonProperty(name: 'leaf')]), + r.VariableMirrorImpl(r'authorities', 84018181, 7, const prefix0.JsonSerializable(), -1, 11, 12, const [13], + const [const prefix0.JsonProperty(name: 'authorities')]), + r.MethodMirrorImpl(r'copyWith', 2097154, 0, 0, 0, 0, const [], const [0, 1], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 0, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 0, 37), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 1, 38), + r.MethodMirrorImpl( + r'props', 35651587, 0, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 0, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 0, -1, 0, 0, const [], const [2, 3], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'==', 2097154, -1, -1, 15, 15, const [], const [4], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'toString', 2097154, -1, -1, 13, 13, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'noSuchMethod', 524290, -1, -1, -1, -1, const [], const [5], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl( + r'hashCode', 2097155, -1, -1, 14, 14, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'runtimeType', 2097155, -1, -1, 21, 21, const [], const [], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 1, 1, 1, 1, const [], const [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], + const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 1, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 2, 49), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 3, 50), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 4, 51), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 5, 52), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 6, 53), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 7, 54), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 8, 55), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 9, 56), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 10, 57), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 11, 58), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 12, 59), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 13, 60), + r.MethodMirrorImpl( + r'props', 35651587, 1, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 1, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 1, -1, 1, 1, const [], const [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], + const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 2, 2, 2, 2, const [], const [30], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 2, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl( + r'toString', 2097154, 2, -1, 13, 13, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 14, 67), + r.MethodMirrorImpl( + r'props', 35651587, 2, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 2, -1, 2, 2, const [], const [31], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'stringify', 2097155, -1, -1, 9, 9, const [], const [], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 3, 3, 3, 3, const [], const [32, 33, 34], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 3, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 15, 73), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 16, 74), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 17, 75), + r.MethodMirrorImpl( + r'props', 35651587, 3, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 3, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 3, -1, 3, 3, const [], const [35, 36, 37], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 4, 4, 4, 4, const [], const [38, 39, 40], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 4, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 18, 81), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 19, 82), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 20, 83), + r.MethodMirrorImpl( + r'props', 35651587, 4, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 4, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 4, -1, 4, 4, const [], const [41, 42, 43], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 5, 5, 5, 5, const [], const [44], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 5, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'==', 2097154, 5, -1, 15, 15, const [], const [45], const prefix0.JsonSerializable(), const [override]), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 21, 90), + r.MethodMirrorImpl( + r'hashCode', 2097155, 5, -1, 14, 14, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'props', 35651587, 5, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 5, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 5, -1, 5, 5, const [], const [46], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 6, 6, 6, 6, const [], const [47, 48], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 6, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 22, 97), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 23, 98), + r.MethodMirrorImpl( + r'props', 35651587, 6, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 6, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 6, -1, 6, 6, const [], const [49, 50], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 7, 7, 7, 7, const [], const [51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61], + const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 7, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 24, 104), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 25, 105), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 26, 106), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 27, 107), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 28, 108), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 29, 109), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 30, 110), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 31, 111), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 32, 112), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 33, 113), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 34, 114), + r.MethodMirrorImpl( + r'props', 35651587, 7, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 7, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 7, -1, 7, 7, const [], const [62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72], + const prefix0.JsonSerializable(), const []) + ], + [ + r.ParameterMirrorImpl( + r'currentPassword', 67252230, 35, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #currentPassword), + r.ParameterMirrorImpl( + r'newPassword', 67252230, 35, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #newPassword), + r.ParameterMirrorImpl( + r'currentPassword', 67253254, 41, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #currentPassword), + r.ParameterMirrorImpl( + r'newPassword', 67253254, 41, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #newPassword), + r.ParameterMirrorImpl(r'other', 134348806, 42, const prefix0.JsonSerializable(), -1, 22, 22, const [], const [], null, null), + r.ParameterMirrorImpl(r'invocation', 134348806, 44, const prefix0.JsonSerializable(), -1, 23, 23, const [], const [], null, null), + r.ParameterMirrorImpl(r'id', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'login', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #login), + r.ParameterMirrorImpl(r'firstName', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #firstName), + r.ParameterMirrorImpl(r'lastName', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastName), + r.ParameterMirrorImpl(r'email', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #email), + r.ParameterMirrorImpl(r'activated', 67252230, 47, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #activated), + r.ParameterMirrorImpl(r'langKey', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #langKey), + r.ParameterMirrorImpl(r'createdBy', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #createdBy), + r.ParameterMirrorImpl( + r'createdDate', 67252230, 47, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #createdDate), + r.ParameterMirrorImpl( + r'lastModifiedBy', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastModifiedBy), + r.ParameterMirrorImpl( + r'lastModifiedDate', 67252230, 47, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #lastModifiedDate), + r.ParameterMirrorImpl( + r'authorities', 84029446, 47, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), + r.ParameterMirrorImpl(r'id', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'login', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #login), + r.ParameterMirrorImpl(r'firstName', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #firstName), + r.ParameterMirrorImpl(r'lastName', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastName), + r.ParameterMirrorImpl(r'email', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #email), + r.ParameterMirrorImpl(r'activated', 67253254, 63, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #activated), + r.ParameterMirrorImpl(r'langKey', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #langKey), + r.ParameterMirrorImpl(r'createdBy', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #createdBy), + r.ParameterMirrorImpl( + r'createdDate', 67253254, 63, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #createdDate), + r.ParameterMirrorImpl( + r'lastModifiedBy', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastModifiedBy), + r.ParameterMirrorImpl( + r'lastModifiedDate', 67253254, 63, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #lastModifiedDate), + r.ParameterMirrorImpl( + r'authorities', 84030470, 63, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), + r.ParameterMirrorImpl(r'name', 67252230, 64, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'name', 67253254, 69, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'id', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'plateCode', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #plateCode), + r.ParameterMirrorImpl(r'id', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'plateCode', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #plateCode), + r.ParameterMirrorImpl(r'id', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'code', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #code), + r.ParameterMirrorImpl(r'id', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'code', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #code), + r.ParameterMirrorImpl(r'idToken', 67252230, 87, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #idToken), + r.ParameterMirrorImpl(r'other', 134348806, 89, const prefix0.JsonSerializable(), -1, 22, 22, const [], const [], null, null), + r.ParameterMirrorImpl(r'idToken', 67253254, 94, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #idToken), + r.ParameterMirrorImpl(r'username', 67252230, 95, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #username), + r.ParameterMirrorImpl(r'password', 67252230, 95, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #password), + r.ParameterMirrorImpl(r'username', 67240966, 101, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, null), + r.ParameterMirrorImpl(r'password', 67240966, 101, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, null), + r.ParameterMirrorImpl(r'id', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl( + r'description', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #description), + r.ParameterMirrorImpl(r'url', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #url), + r.ParameterMirrorImpl(r'icon', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #icon), + r.ParameterMirrorImpl( + r'orderPriority', 67252230, 102, const prefix0.JsonSerializable(), -1, 24, 24, const [], const [], null, #orderPriority), + r.ParameterMirrorImpl(r'active', 67252230, 102, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #active), + r.ParameterMirrorImpl(r'parent', 67252230, 102, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [], null, #parent), + r.ParameterMirrorImpl(r'level', 67252230, 102, const prefix0.JsonSerializable(), -1, 24, 24, const [], const [], null, #level), + r.ParameterMirrorImpl(r'leaf', 67252230, 102, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #leaf), + r.ParameterMirrorImpl( + r'authorities', 84029446, 102, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), + r.ParameterMirrorImpl(r'id', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #id), + r.ParameterMirrorImpl(r'name', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #name), + r.ParameterMirrorImpl( + r'description', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #description), + r.ParameterMirrorImpl(r'url', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #url), + r.ParameterMirrorImpl(r'icon', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #icon), + r.ParameterMirrorImpl( + r'orderPriority', 134364166, 117, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [], 0, #orderPriority), + r.ParameterMirrorImpl(r'active', 134364166, 117, const prefix0.JsonSerializable(), -1, 15, 15, const [], const [], false, #active), + r.ParameterMirrorImpl(r'parent', 67253254, 117, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [], null, #parent), + r.ParameterMirrorImpl(r'level', 134364166, 117, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [], 0, #level), + r.ParameterMirrorImpl(r'leaf', 67255302, 117, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], false, #leaf), + r.ParameterMirrorImpl( + r'authorities', 84032518, 117, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], const [], #authorities) + ], + [ + prefix1.PasswordChangeDTO, + prefix2.User, + prefix3.Authority, + prefix4.City, + prefix5.District, + prefix6.JWTToken, + prefix7.UserJWT, + prefix8.Menu, + String, + bool, + DateTime, + const m.TypeValue>().type, + List, + String, + int, + bool, + const m.TypeValue>().type, + Map, + Object, + const m.TypeValue().type, + List, + Type, + Object, + Invocation, + int + ], + 8, + { + r'==': (dynamic instance) => (x) => instance == x, + r'toString': (dynamic instance) => instance.toString, + r'noSuchMethod': (dynamic instance) => instance.noSuchMethod, + r'hashCode': (dynamic instance) => instance.hashCode, + r'runtimeType': (dynamic instance) => instance.runtimeType, + r'stringify': (dynamic instance) => instance.stringify, + r'copyWith': (dynamic instance) => instance.copyWith, + r'toJson': (dynamic instance) => instance.toJson, + r'currentPassword': (dynamic instance) => instance.currentPassword, + r'newPassword': (dynamic instance) => instance.newPassword, + r'props': (dynamic instance) => instance.props, + r'id': (dynamic instance) => instance.id, + r'login': (dynamic instance) => instance.login, + r'firstName': (dynamic instance) => instance.firstName, + r'lastName': (dynamic instance) => instance.lastName, + r'email': (dynamic instance) => instance.email, + r'activated': (dynamic instance) => instance.activated, + r'langKey': (dynamic instance) => instance.langKey, + r'createdBy': (dynamic instance) => instance.createdBy, + r'createdDate': (dynamic instance) => instance.createdDate, + r'lastModifiedBy': (dynamic instance) => instance.lastModifiedBy, + r'lastModifiedDate': (dynamic instance) => instance.lastModifiedDate, + r'authorities': (dynamic instance) => instance.authorities, + r'name': (dynamic instance) => instance.name, + r'plateCode': (dynamic instance) => instance.plateCode, + r'code': (dynamic instance) => instance.code, + r'idToken': (dynamic instance) => instance.idToken, + r'username': (dynamic instance) => instance.username, + r'password': (dynamic instance) => instance.password, + r'description': (dynamic instance) => instance.description, + r'url': (dynamic instance) => instance.url, + r'icon': (dynamic instance) => instance.icon, + r'orderPriority': (dynamic instance) => instance.orderPriority, + r'active': (dynamic instance) => instance.active, + r'parent': (dynamic instance) => instance.parent, + r'level': (dynamic instance) => instance.level, + r'leaf': (dynamic instance) => instance.leaf + }, + {}, + null, + []) +}; final _memberSymbolMap = null; @@ -62,84 +609,92 @@ void _initializeReflectable(JsonMapperAdapter adapter) { } final mainLocalGeneratedAdapter = JsonMapperAdapter( - title: 'flutter_bloc_advance', - url: 'package:flutter_bloc_advance/main/main_local.dart', - reflectableData: _data, - memberSymbolMap: _memberSymbolMap, - valueDecorators: { - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast() -}, - enumValues: { - x8.LogFormat: x8.LogFormat.values, - x9.Environment: x9.Environment.values, - x10.StorageKeys: x10.StorageKeys.values, - x10.StorageType: x10.StorageType.values, - x11.RouterType: x11.RouterType.values, - x12.AccountStatus: x12.AccountStatus.values, - x13.UserStatus: x13.UserStatus.values, - x14.ChangePasswordStatus: x14.ChangePasswordStatus.values, - x15.ForgotPasswordStatus: x15.ForgotPasswordStatus.values, - x16.LoginStatus: x16.LoginStatus.values, - x17.DrawerStateStatus: x17.DrawerStateStatus.values, - x18.EditorFormMode: x18.EditorFormMode.values, - x19.AuthorityStatus: x19.AuthorityStatus.values, - x20.CityStatus: x20.CityStatus.values, - x21.DistrictStatus: x21.DistrictStatus.values -}); + title: 'flutter_bloc_advance', + url: 'package:flutter_bloc_advance/main/main_local.dart', + reflectableData: _data, + memberSymbolMap: _memberSymbolMap, + valueDecorators: { + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast() + }, + enumValues: { + x8.LogFormat: x8.LogFormat.values, + x9.Environment: x9.Environment.values, + x10.StorageKeys: x10.StorageKeys.values, + x10.StorageType: x10.StorageType.values, + x11.RouterType: x11.RouterType.values, + x12.AccountStatus: x12.AccountStatus.values, + x13.UserStatus: x13.UserStatus.values, + x14.ChangePasswordStatus: x14.ChangePasswordStatus.values, + x15.ForgotPasswordStatus: x15.ForgotPasswordStatus.values, + x16.LoginStatus: x16.LoginStatus.values, + x17.DrawerStateStatus: x17.DrawerStateStatus.values, + x18.EditorFormMode: x18.EditorFormMode.values, + x19.AuthorityStatus: x19.AuthorityStatus.values, + x20.CityStatus: x20.CityStatus.values, + x21.DistrictStatus: x21.DistrictStatus.values + }); -Future initializeJsonMapperAsync({Iterable adapters = const [], SerializationOptions? serializationOptions, DeserializationOptions? deserializationOptions}) => Future(() => initializeJsonMapper(adapters: adapters, serializationOptions: serializationOptions, deserializationOptions: deserializationOptions)); +Future initializeJsonMapperAsync( + {Iterable adapters = const [], + SerializationOptions? serializationOptions, + DeserializationOptions? deserializationOptions}) => + Future(() => + initializeJsonMapper(adapters: adapters, serializationOptions: serializationOptions, deserializationOptions: deserializationOptions)); -JsonMapper initializeJsonMapper({Iterable adapters = const [], SerializationOptions? serializationOptions, DeserializationOptions? deserializationOptions}) { +JsonMapper initializeJsonMapper( + {Iterable adapters = const [], + SerializationOptions? serializationOptions, + DeserializationOptions? deserializationOptions}) { JsonMapper.globalSerializationOptions = serializationOptions ?? JsonMapper.globalSerializationOptions; - JsonMapper.globalDeserializationOptions = deserializationOptions ?? JsonMapper.globalDeserializationOptions; + JsonMapper.globalDeserializationOptions = deserializationOptions ?? JsonMapper.globalDeserializationOptions; JsonMapper.enumerateAdapters([...adapters, mainLocalGeneratedAdapter], (JsonMapperAdapter adapter) { _initializeReflectable(adapter); JsonMapper().useAdapter(adapter); }); return JsonMapper(); -} \ No newline at end of file +} diff --git a/lib/main/main_prod.mapper.g.dart b/lib/main/main_prod.mapper.g.dart index 1496cd6..0624f03 100644 --- a/lib/main/main_prod.mapper.g.dart +++ b/lib/main/main_prod.mapper.g.dart @@ -1,17 +1,30 @@ // This file has been generated by the dart_json_mapper v2.2.13 // https://github.com/k-paxian/dart-json-mapper // @dart = 2.12 +// This file has been generated by the reflectable package. +// https://github.com/dart-lang/reflectable. +import 'dart:core'; + import 'package:dart_json_mapper/dart_json_mapper.dart' show JsonMapper, JsonMapperAdapter, SerializationOptions, DeserializationOptions, typeOf; +import 'package:dart_json_mapper/src/model/annotations.dart' as prefix0; import 'package:flutter_bloc_advance/configuration/app_logger.dart' as x8 show LogFormat; import 'package:flutter_bloc_advance/configuration/environment.dart' as x9 show Environment; import 'package:flutter_bloc_advance/configuration/local_storage.dart' as x10 show StorageKeys, StorageType; +import 'package:flutter_bloc_advance/data/models/authority.dart' as prefix3; import 'package:flutter_bloc_advance/data/models/authority.dart' as x5 show Authority; +import 'package:flutter_bloc_advance/data/models/change_password.dart' as prefix1; import 'package:flutter_bloc_advance/data/models/change_password.dart' as x1 show PasswordChangeDTO; +import 'package:flutter_bloc_advance/data/models/city.dart' as prefix4; import 'package:flutter_bloc_advance/data/models/city.dart' as x6 show City; +import 'package:flutter_bloc_advance/data/models/district.dart' as prefix5; import 'package:flutter_bloc_advance/data/models/district.dart' as x7 show District; +import 'package:flutter_bloc_advance/data/models/jwt_token.dart' as prefix6; import 'package:flutter_bloc_advance/data/models/jwt_token.dart' as x3 show JWTToken; +import 'package:flutter_bloc_advance/data/models/menu.dart' as prefix8; import 'package:flutter_bloc_advance/data/models/menu.dart' as x4 show Menu; +import 'package:flutter_bloc_advance/data/models/user.dart' as prefix2; import 'package:flutter_bloc_advance/data/models/user.dart' as x0 show User; +import 'package:flutter_bloc_advance/data/models/user_jwt.dart' as prefix7; import 'package:flutter_bloc_advance/data/models/user_jwt.dart' as x2 show UserJWT; import 'package:flutter_bloc_advance/presentation/common_blocs/account/account_bloc.dart' as x12 show AccountStatus; import 'package:flutter_bloc_advance/presentation/common_blocs/authority/authority_bloc.dart' as x19 show AuthorityStatus; @@ -24,19 +37,6 @@ import 'package:flutter_bloc_advance/presentation/screen/forgot_password/bloc/fo import 'package:flutter_bloc_advance/presentation/screen/login/bloc/login_bloc.dart' as x16 show LoginStatus; import 'package:flutter_bloc_advance/presentation/screen/user/bloc/user_bloc.dart' as x13 show UserStatus; import 'package:flutter_bloc_advance/routes/app_router.dart' as x11 show RouterType; -// This file has been generated by the reflectable package. -// https://github.com/dart-lang/reflectable. -import 'dart:core'; -import 'package:dart_json_mapper/src/model/annotations.dart' as prefix0; -import 'package:flutter_bloc_advance/data/models/authority.dart' as prefix3; -import 'package:flutter_bloc_advance/data/models/change_password.dart' as prefix1; -import 'package:flutter_bloc_advance/data/models/city.dart' as prefix4; -import 'package:flutter_bloc_advance/data/models/district.dart' as prefix5; -import 'package:flutter_bloc_advance/data/models/jwt_token.dart' as prefix6; -import 'package:flutter_bloc_advance/data/models/menu.dart' as prefix8; -import 'package:flutter_bloc_advance/data/models/user.dart' as prefix2; -import 'package:flutter_bloc_advance/data/models/user_jwt.dart' as prefix7; - // ignore_for_file: camel_case_types // ignore_for_file: implementation_imports // ignore_for_file: prefer_adjacent_string_concatenation @@ -45,11 +45,558 @@ import 'package:flutter_bloc_advance/data/models/user_jwt.dart' as prefix7; // ignore_for_file: unused_import import 'package:reflectable/mirrors.dart' as m; -import 'package:reflectable/src/reflectable_builder_based.dart' as r; import 'package:reflectable/reflectable.dart' as r show Reflectable; +import 'package:reflectable/src/reflectable_builder_based.dart' as r; -final _data = {const prefix0.JsonSerializable(): r.ReflectorData([r.NonGenericClassMirrorImpl(r'PasswordChangeDTO', r'.PasswordChangeDTO', 134217735, 0, const prefix0.JsonSerializable(), const [0, 1, 35, 36, 39, 40, 41], const [42, 43, 44, 45, 46, 40, 35, 36, 37, 38, 39], const [], -1, {}, {}, {r'': (bool b) => ({currentPassword, newPassword}) => b ? prefix1.PasswordChangeDTO(currentPassword: currentPassword, newPassword: newPassword) : null}, -1, 0, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'User', r'.User', 134217735, 1, const prefix0.JsonSerializable(), const [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 47, 48, 61, 62, 63], const [42, 43, 44, 45, 46, 62, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61], const [], -1, {}, {}, {r'': (bool b) => ({id, login, firstName, lastName, email, activated, langKey, createdBy, createdDate, lastModifiedBy, lastModifiedDate, authorities}) => b ? prefix2.User(activated: activated, authorities: authorities, createdBy: createdBy, createdDate: createdDate, email: email, firstName: firstName, id: id, langKey: langKey, lastModifiedBy: lastModifiedBy, lastModifiedDate: lastModifiedDate, lastName: lastName, login: login) : null}, -1, 1, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'Authority', r'.Authority', 134217735, 2, const prefix0.JsonSerializable(), const [14, 64, 65, 66, 68, 69], const [42, 66, 44, 45, 46, 70, 64, 65, 67, 68], const [], -1, {}, {}, {r'': (bool b) => ({name}) => b ? prefix3.Authority(name: name) : null}, -1, 2, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'City', r'.City', 134217735, 3, const prefix0.JsonSerializable(), const [15, 16, 17, 71, 72, 76, 77, 78], const [42, 43, 44, 45, 46, 77, 71, 72, 73, 74, 75, 76], const [], -1, {}, {}, {r'': (bool b) => ({id, name, plateCode}) => b ? prefix4.City(id: id, name: name, plateCode: plateCode) : null}, -1, 3, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'District', r'.District', 134217735, 4, const prefix0.JsonSerializable(), const [18, 19, 20, 79, 80, 84, 85, 86], const [42, 43, 44, 45, 46, 85, 79, 80, 81, 82, 83, 84], const [], -1, {}, {}, {r'': (bool b) => ({id, name, code}) => b ? prefix5.District(code: code, id: id, name: name) : null}, -1, 4, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'JWTToken', r'.JWTToken', 134217735, 5, const prefix0.JsonSerializable(), const [21, 87, 88, 89, 91, 92, 93, 94], const [89, 43, 44, 91, 46, 93, 87, 88, 90, 92], const [], -1, {}, {}, {r'': (bool b) => ({idToken}) => b ? prefix6.JWTToken(idToken: idToken) : null}, -1, 5, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'UserJWT', r'.UserJWT', 134217735, 6, const prefix0.JsonSerializable(), const [22, 23, 95, 96, 99, 100, 101], const [42, 43, 44, 45, 46, 100, 95, 96, 97, 98, 99], const [], -1, {}, {}, {r'': (bool b) => (username, password) => b ? prefix7.UserJWT(username, password) : null}, -1, 6, const [], const [prefix0.jsonSerializable], null), r.NonGenericClassMirrorImpl(r'Menu', r'.Menu', 134217735, 7, const prefix0.JsonSerializable(), const [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 102, 103, 115, 116, 117], const [42, 43, 44, 45, 46, 116, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115], const [], -1, {}, {}, {r'': (bool b) => ({id = '', name = '', description = '', url = '', icon = '', orderPriority = 0, active = false, parent, level = 0, leaf = false, authorities = const []}) => b ? prefix8.Menu(active: active, authorities: authorities, description: description, icon: icon, id: id, leaf: leaf, level: level, name: name, orderPriority: orderPriority, parent: parent, url: url) : null}, -1, 7, const [], const [prefix0.jsonSerializable], null)], [r.VariableMirrorImpl(r'currentPassword', 67240965, 0, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'currentPassword')]), r.VariableMirrorImpl(r'newPassword', 67240965, 0, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'newPassword')]), r.VariableMirrorImpl(r'id', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), r.VariableMirrorImpl(r'login', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'login')]), r.VariableMirrorImpl(r'firstName', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'firstName')]), r.VariableMirrorImpl(r'lastName', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'lastName')]), r.VariableMirrorImpl(r'email', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'email')]), r.VariableMirrorImpl(r'activated', 67240965, 1, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [const prefix0.JsonProperty(name: 'activated')]), r.VariableMirrorImpl(r'langKey', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'langKey')]), r.VariableMirrorImpl(r'createdBy', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'createdBy')]), r.VariableMirrorImpl(r'createdDate', 67240965, 1, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [const prefix0.JsonProperty(name: 'createdDate')]), r.VariableMirrorImpl(r'lastModifiedBy', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'lastModifiedBy')]), r.VariableMirrorImpl(r'lastModifiedDate', 67240965, 1, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [const prefix0.JsonProperty(name: 'lastModifiedDate')]), r.VariableMirrorImpl(r'authorities', 84018181, 1, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [const prefix0.JsonProperty(name: 'authorities')]), r.VariableMirrorImpl(r'name', 67240965, 2, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), r.VariableMirrorImpl(r'id', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), r.VariableMirrorImpl(r'name', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), r.VariableMirrorImpl(r'plateCode', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'plateCode')]), r.VariableMirrorImpl(r'id', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), r.VariableMirrorImpl(r'name', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), r.VariableMirrorImpl(r'code', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'code')]), r.VariableMirrorImpl(r'idToken', 67240965, 5, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id_token')]), r.VariableMirrorImpl(r'username', 67240965, 6, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'username')]), r.VariableMirrorImpl(r'password', 67240965, 6, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'password')]), r.VariableMirrorImpl(r'id', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'id')]), r.VariableMirrorImpl(r'name', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'name')]), r.VariableMirrorImpl(r'description', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'description')]), r.VariableMirrorImpl(r'url', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'url')]), r.VariableMirrorImpl(r'icon', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'icon')]), r.VariableMirrorImpl(r'orderPriority', 134349829, 7, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [const prefix0.JsonProperty(name: 'orderPriority')]), r.VariableMirrorImpl(r'active', 134349829, 7, const prefix0.JsonSerializable(), -1, 15, 15, const [], const [const prefix0.JsonProperty(name: 'active')]), r.VariableMirrorImpl(r'parent', 67240965, 7, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [const prefix0.JsonProperty(name: 'parent')]), r.VariableMirrorImpl(r'level', 134349829, 7, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [const prefix0.JsonProperty(name: 'level')]), r.VariableMirrorImpl(r'leaf', 67240965, 7, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [const prefix0.JsonProperty(name: 'leaf')]), r.VariableMirrorImpl(r'authorities', 84018181, 7, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [const prefix0.JsonProperty(name: 'authorities')]), r.MethodMirrorImpl(r'copyWith', 2097154, 0, 0, 0, 0, const [], const [0, 1], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 0, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 0, 37), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 1, 38), r.MethodMirrorImpl(r'props', 35651587, 0, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 0, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 0, -1, 0, 0, const [], const [2, 3], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'==', 2097154, -1, -1, 15, 15, const [], const [4], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'toString', 2097154, -1, -1, 13, 13, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'noSuchMethod', 524290, -1, -1, -1, -1, const [], const [5], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'hashCode', 2097155, -1, -1, 14, 14, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'runtimeType', 2097155, -1, -1, 21, 21, const [], const [], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 1, 1, 1, 1, const [], const [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 1, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 2, 49), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 3, 50), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 4, 51), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 5, 52), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 6, 53), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 7, 54), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 8, 55), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 9, 56), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 10, 57), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 11, 58), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 12, 59), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 13, 60), r.MethodMirrorImpl(r'props', 35651587, 1, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 1, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 1, -1, 1, 1, const [], const [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 2, 2, 2, 2, const [], const [30], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 2, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toString', 2097154, 2, -1, 13, 13, const [], const [], const prefix0.JsonSerializable(), const [override]), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 14, 67), r.MethodMirrorImpl(r'props', 35651587, 2, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 2, -1, 2, 2, const [], const [31], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'stringify', 2097155, -1, -1, 9, 9, const [], const [], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 3, 3, 3, 3, const [], const [32, 33, 34], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 3, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 15, 73), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 16, 74), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 17, 75), r.MethodMirrorImpl(r'props', 35651587, 3, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 3, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 3, -1, 3, 3, const [], const [35, 36, 37], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 4, 4, 4, 4, const [], const [38, 39, 40], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 4, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 18, 81), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 19, 82), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 20, 83), r.MethodMirrorImpl(r'props', 35651587, 4, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 4, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 4, -1, 4, 4, const [], const [41, 42, 43], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 5, 5, 5, 5, const [], const [44], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 5, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'==', 2097154, 5, -1, 15, 15, const [], const [45], const prefix0.JsonSerializable(), const [override]), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 21, 90), r.MethodMirrorImpl(r'hashCode', 2097155, 5, -1, 14, 14, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'props', 35651587, 5, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 5, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 5, -1, 5, 5, const [], const [46], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 6, 6, 6, 6, const [], const [47, 48], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 6, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 22, 97), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 23, 98), r.MethodMirrorImpl(r'props', 35651587, 6, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 6, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 6, -1, 6, 6, const [], const [49, 50], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'copyWith', 2097154, 7, 7, 7, 7, const [], const [51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61], const prefix0.JsonSerializable(), const []), r.MethodMirrorImpl(r'toJson', 35651586, 7, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 24, 104), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 25, 105), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 26, 106), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 27, 107), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 28, 108), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 29, 109), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 30, 110), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 31, 111), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 32, 112), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 33, 113), r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 34, 114), r.MethodMirrorImpl(r'props', 35651587, 7, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'stringify', 2097155, 7, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), r.MethodMirrorImpl(r'', 128, 7, -1, 7, 7, const [], const [62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72], const prefix0.JsonSerializable(), const [])], [r.ParameterMirrorImpl(r'currentPassword', 67252230, 35, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #currentPassword), r.ParameterMirrorImpl(r'newPassword', 67252230, 35, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #newPassword), r.ParameterMirrorImpl(r'currentPassword', 67253254, 41, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #currentPassword), r.ParameterMirrorImpl(r'newPassword', 67253254, 41, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #newPassword), r.ParameterMirrorImpl(r'other', 134348806, 42, const prefix0.JsonSerializable(), -1, 22, 22, const [], const [], null, null), r.ParameterMirrorImpl(r'invocation', 134348806, 44, const prefix0.JsonSerializable(), -1, 23, 23, const [], const [], null, null), r.ParameterMirrorImpl(r'id', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'login', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #login), r.ParameterMirrorImpl(r'firstName', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #firstName), r.ParameterMirrorImpl(r'lastName', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastName), r.ParameterMirrorImpl(r'email', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #email), r.ParameterMirrorImpl(r'activated', 67252230, 47, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #activated), r.ParameterMirrorImpl(r'langKey', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #langKey), r.ParameterMirrorImpl(r'createdBy', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #createdBy), r.ParameterMirrorImpl(r'createdDate', 67252230, 47, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #createdDate), r.ParameterMirrorImpl(r'lastModifiedBy', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastModifiedBy), r.ParameterMirrorImpl(r'lastModifiedDate', 67252230, 47, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #lastModifiedDate), r.ParameterMirrorImpl(r'authorities', 84029446, 47, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), r.ParameterMirrorImpl(r'id', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'login', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #login), r.ParameterMirrorImpl(r'firstName', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #firstName), r.ParameterMirrorImpl(r'lastName', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastName), r.ParameterMirrorImpl(r'email', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #email), r.ParameterMirrorImpl(r'activated', 67253254, 63, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #activated), r.ParameterMirrorImpl(r'langKey', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #langKey), r.ParameterMirrorImpl(r'createdBy', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #createdBy), r.ParameterMirrorImpl(r'createdDate', 67253254, 63, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #createdDate), r.ParameterMirrorImpl(r'lastModifiedBy', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastModifiedBy), r.ParameterMirrorImpl(r'lastModifiedDate', 67253254, 63, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #lastModifiedDate), r.ParameterMirrorImpl(r'authorities', 84030470, 63, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), r.ParameterMirrorImpl(r'name', 67252230, 64, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'name', 67253254, 69, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'id', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'plateCode', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #plateCode), r.ParameterMirrorImpl(r'id', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'plateCode', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #plateCode), r.ParameterMirrorImpl(r'id', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'code', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #code), r.ParameterMirrorImpl(r'id', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'code', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #code), r.ParameterMirrorImpl(r'idToken', 67252230, 87, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #idToken), r.ParameterMirrorImpl(r'other', 134348806, 89, const prefix0.JsonSerializable(), -1, 22, 22, const [], const [], null, null), r.ParameterMirrorImpl(r'idToken', 67253254, 94, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #idToken), r.ParameterMirrorImpl(r'username', 67252230, 95, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #username), r.ParameterMirrorImpl(r'password', 67252230, 95, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #password), r.ParameterMirrorImpl(r'username', 67240966, 101, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, null), r.ParameterMirrorImpl(r'password', 67240966, 101, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, null), r.ParameterMirrorImpl(r'id', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), r.ParameterMirrorImpl(r'name', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), r.ParameterMirrorImpl(r'description', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #description), r.ParameterMirrorImpl(r'url', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #url), r.ParameterMirrorImpl(r'icon', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #icon), r.ParameterMirrorImpl(r'orderPriority', 67252230, 102, const prefix0.JsonSerializable(), -1, 24, 24, const [], const [], null, #orderPriority), r.ParameterMirrorImpl(r'active', 67252230, 102, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #active), r.ParameterMirrorImpl(r'parent', 67252230, 102, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [], null, #parent), r.ParameterMirrorImpl(r'level', 67252230, 102, const prefix0.JsonSerializable(), -1, 24, 24, const [], const [], null, #level), r.ParameterMirrorImpl(r'leaf', 67252230, 102, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #leaf), r.ParameterMirrorImpl(r'authorities', 84029446, 102, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), r.ParameterMirrorImpl(r'id', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #id), r.ParameterMirrorImpl(r'name', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #name), r.ParameterMirrorImpl(r'description', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #description), r.ParameterMirrorImpl(r'url', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #url), r.ParameterMirrorImpl(r'icon', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #icon), r.ParameterMirrorImpl(r'orderPriority', 134364166, 117, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [], 0, #orderPriority), r.ParameterMirrorImpl(r'active', 134364166, 117, const prefix0.JsonSerializable(), -1, 15, 15, const [], const [], false, #active), r.ParameterMirrorImpl(r'parent', 67253254, 117, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [], null, #parent), r.ParameterMirrorImpl(r'level', 134364166, 117, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [], 0, #level), r.ParameterMirrorImpl(r'leaf', 67255302, 117, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], false, #leaf), r.ParameterMirrorImpl(r'authorities', 84032518, 117, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], const [], #authorities)], [prefix1.PasswordChangeDTO, prefix2.User, prefix3.Authority, prefix4.City, prefix5.District, prefix6.JWTToken, prefix7.UserJWT, prefix8.Menu, String, bool, DateTime, const m.TypeValue>().type, List, String, int, bool, const m.TypeValue>().type, Map, Object, const m.TypeValue().type, List, Type, Object, Invocation, int], 8, {r'==': (dynamic instance) => (x) => instance == x, r'toString': (dynamic instance) => instance.toString, r'noSuchMethod': (dynamic instance) => instance.noSuchMethod, r'hashCode': (dynamic instance) => instance.hashCode, r'runtimeType': (dynamic instance) => instance.runtimeType, r'stringify': (dynamic instance) => instance.stringify, r'copyWith': (dynamic instance) => instance.copyWith, r'toJson': (dynamic instance) => instance.toJson, r'currentPassword': (dynamic instance) => instance.currentPassword, r'newPassword': (dynamic instance) => instance.newPassword, r'props': (dynamic instance) => instance.props, r'id': (dynamic instance) => instance.id, r'login': (dynamic instance) => instance.login, r'firstName': (dynamic instance) => instance.firstName, r'lastName': (dynamic instance) => instance.lastName, r'email': (dynamic instance) => instance.email, r'activated': (dynamic instance) => instance.activated, r'langKey': (dynamic instance) => instance.langKey, r'createdBy': (dynamic instance) => instance.createdBy, r'createdDate': (dynamic instance) => instance.createdDate, r'lastModifiedBy': (dynamic instance) => instance.lastModifiedBy, r'lastModifiedDate': (dynamic instance) => instance.lastModifiedDate, r'authorities': (dynamic instance) => instance.authorities, r'name': (dynamic instance) => instance.name, r'plateCode': (dynamic instance) => instance.plateCode, r'code': (dynamic instance) => instance.code, r'idToken': (dynamic instance) => instance.idToken, r'username': (dynamic instance) => instance.username, r'password': (dynamic instance) => instance.password, r'description': (dynamic instance) => instance.description, r'url': (dynamic instance) => instance.url, r'icon': (dynamic instance) => instance.icon, r'orderPriority': (dynamic instance) => instance.orderPriority, r'active': (dynamic instance) => instance.active, r'parent': (dynamic instance) => instance.parent, r'level': (dynamic instance) => instance.level, r'leaf': (dynamic instance) => instance.leaf}, {}, null, [])}; - +final _data = { + const prefix0.JsonSerializable(): r.ReflectorData( + [ + r.NonGenericClassMirrorImpl( + r'PasswordChangeDTO', + r'.PasswordChangeDTO', + 134217735, + 0, + const prefix0.JsonSerializable(), + const [0, 1, 35, 36, 39, 40, 41], + const [42, 43, 44, 45, 46, 40, 35, 36, 37, 38, 39], + const [], + -1, + {}, + {}, + { + r'': (bool b) => ({currentPassword, newPassword}) => + b ? prefix1.PasswordChangeDTO(currentPassword: currentPassword, newPassword: newPassword) : null + }, + -1, + 0, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'User', + r'.User', + 134217735, + 1, + const prefix0.JsonSerializable(), + const [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 47, 48, 61, 62, 63], + const [42, 43, 44, 45, 46, 62, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61], + const [], + -1, + {}, + {}, + { + r'': (bool b) => ( + {id, + login, + firstName, + lastName, + email, + activated, + langKey, + createdBy, + createdDate, + lastModifiedBy, + lastModifiedDate, + authorities}) => + b + ? prefix2.User( + activated: activated, + authorities: authorities, + createdBy: createdBy, + createdDate: createdDate, + email: email, + firstName: firstName, + id: id, + langKey: langKey, + lastModifiedBy: lastModifiedBy, + lastModifiedDate: lastModifiedDate, + lastName: lastName, + login: login) + : null + }, + -1, + 1, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'Authority', + r'.Authority', + 134217735, + 2, + const prefix0.JsonSerializable(), + const [14, 64, 65, 66, 68, 69], + const [42, 66, 44, 45, 46, 70, 64, 65, 67, 68], + const [], + -1, + {}, + {}, + {r'': (bool b) => ({name}) => b ? prefix3.Authority(name: name) : null}, + -1, + 2, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'City', + r'.City', + 134217735, + 3, + const prefix0.JsonSerializable(), + const [15, 16, 17, 71, 72, 76, 77, 78], + const [42, 43, 44, 45, 46, 77, 71, 72, 73, 74, 75, 76], + const [], + -1, + {}, + {}, + {r'': (bool b) => ({id, name, plateCode}) => b ? prefix4.City(id: id, name: name, plateCode: plateCode) : null}, + -1, + 3, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'District', + r'.District', + 134217735, + 4, + const prefix0.JsonSerializable(), + const [18, 19, 20, 79, 80, 84, 85, 86], + const [42, 43, 44, 45, 46, 85, 79, 80, 81, 82, 83, 84], + const [], + -1, + {}, + {}, + {r'': (bool b) => ({id, name, code}) => b ? prefix5.District(code: code, id: id, name: name) : null}, + -1, + 4, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'JWTToken', + r'.JWTToken', + 134217735, + 5, + const prefix0.JsonSerializable(), + const [21, 87, 88, 89, 91, 92, 93, 94], + const [89, 43, 44, 91, 46, 93, 87, 88, 90, 92], + const [], + -1, + {}, + {}, + {r'': (bool b) => ({idToken}) => b ? prefix6.JWTToken(idToken: idToken) : null}, + -1, + 5, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'UserJWT', + r'.UserJWT', + 134217735, + 6, + const prefix0.JsonSerializable(), + const [22, 23, 95, 96, 99, 100, 101], + const [42, 43, 44, 45, 46, 100, 95, 96, 97, 98, 99], + const [], + -1, + {}, + {}, + {r'': (bool b) => (username, password) => b ? prefix7.UserJWT(username, password) : null}, + -1, + 6, + const [], + const [prefix0.jsonSerializable], + null), + r.NonGenericClassMirrorImpl( + r'Menu', + r'.Menu', + 134217735, + 7, + const prefix0.JsonSerializable(), + const [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 102, 103, 115, 116, 117], + const [42, 43, 44, 45, 46, 116, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115], + const [], + -1, + {}, + {}, + { + r'': (bool b) => ( + {id = '', + name = '', + description = '', + url = '', + icon = '', + orderPriority = 0, + active = false, + parent, + level = 0, + leaf = false, + authorities = const []}) => + b + ? prefix8.Menu( + active: active, + authorities: authorities, + description: description, + icon: icon, + id: id, + leaf: leaf, + level: level, + name: name, + orderPriority: orderPriority, + parent: parent, + url: url) + : null + }, + -1, + 7, + const [], + const [prefix0.jsonSerializable], + null) + ], + [ + r.VariableMirrorImpl(r'currentPassword', 67240965, 0, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'currentPassword')]), + r.VariableMirrorImpl(r'newPassword', 67240965, 0, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'newPassword')]), + r.VariableMirrorImpl( + r'id', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), + r.VariableMirrorImpl( + r'login', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'login')]), + r.VariableMirrorImpl(r'firstName', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'firstName')]), + r.VariableMirrorImpl(r'lastName', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'lastName')]), + r.VariableMirrorImpl( + r'email', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'email')]), + r.VariableMirrorImpl(r'activated', 67240965, 1, const prefix0.JsonSerializable(), -1, 9, 9, const [], + const [const prefix0.JsonProperty(name: 'activated')]), + r.VariableMirrorImpl(r'langKey', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'langKey')]), + r.VariableMirrorImpl(r'createdBy', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'createdBy')]), + r.VariableMirrorImpl(r'createdDate', 67240965, 1, const prefix0.JsonSerializable(), -1, 10, 10, const [], + const [const prefix0.JsonProperty(name: 'createdDate')]), + r.VariableMirrorImpl(r'lastModifiedBy', 67240965, 1, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'lastModifiedBy')]), + r.VariableMirrorImpl(r'lastModifiedDate', 67240965, 1, const prefix0.JsonSerializable(), -1, 10, 10, const [], + const [const prefix0.JsonProperty(name: 'lastModifiedDate')]), + r.VariableMirrorImpl(r'authorities', 84018181, 1, const prefix0.JsonSerializable(), -1, 11, 12, const [13], + const [const prefix0.JsonProperty(name: 'authorities')]), + r.VariableMirrorImpl( + r'name', 67240965, 2, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), + r.VariableMirrorImpl( + r'id', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), + r.VariableMirrorImpl( + r'name', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), + r.VariableMirrorImpl(r'plateCode', 67240965, 3, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'plateCode')]), + r.VariableMirrorImpl( + r'id', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'id')]), + r.VariableMirrorImpl( + r'name', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'name')]), + r.VariableMirrorImpl( + r'code', 67240965, 4, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [const prefix0.JsonProperty(name: 'code')]), + r.VariableMirrorImpl(r'idToken', 67240965, 5, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'id_token')]), + r.VariableMirrorImpl(r'username', 67240965, 6, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'username')]), + r.VariableMirrorImpl(r'password', 67240965, 6, const prefix0.JsonSerializable(), -1, 8, 8, const [], + const [const prefix0.JsonProperty(name: 'password')]), + r.VariableMirrorImpl( + r'id', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'id')]), + r.VariableMirrorImpl(r'name', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], + const [const prefix0.JsonProperty(name: 'name')]), + r.VariableMirrorImpl(r'description', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], + const [const prefix0.JsonProperty(name: 'description')]), + r.VariableMirrorImpl( + r'url', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [const prefix0.JsonProperty(name: 'url')]), + r.VariableMirrorImpl(r'icon', 134349829, 7, const prefix0.JsonSerializable(), -1, 13, 13, const [], + const [const prefix0.JsonProperty(name: 'icon')]), + r.VariableMirrorImpl(r'orderPriority', 134349829, 7, const prefix0.JsonSerializable(), -1, 14, 14, const [], + const [const prefix0.JsonProperty(name: 'orderPriority')]), + r.VariableMirrorImpl(r'active', 134349829, 7, const prefix0.JsonSerializable(), -1, 15, 15, const [], + const [const prefix0.JsonProperty(name: 'active')]), + r.VariableMirrorImpl(r'parent', 67240965, 7, const prefix0.JsonSerializable(), 7, 7, 7, const [], + const [const prefix0.JsonProperty(name: 'parent')]), + r.VariableMirrorImpl(r'level', 134349829, 7, const prefix0.JsonSerializable(), -1, 14, 14, const [], + const [const prefix0.JsonProperty(name: 'level')]), + r.VariableMirrorImpl( + r'leaf', 67240965, 7, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [const prefix0.JsonProperty(name: 'leaf')]), + r.VariableMirrorImpl(r'authorities', 84018181, 7, const prefix0.JsonSerializable(), -1, 11, 12, const [13], + const [const prefix0.JsonProperty(name: 'authorities')]), + r.MethodMirrorImpl(r'copyWith', 2097154, 0, 0, 0, 0, const [], const [0, 1], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 0, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 0, 37), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 1, 38), + r.MethodMirrorImpl( + r'props', 35651587, 0, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 0, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 0, -1, 0, 0, const [], const [2, 3], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'==', 2097154, -1, -1, 15, 15, const [], const [4], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'toString', 2097154, -1, -1, 13, 13, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'noSuchMethod', 524290, -1, -1, -1, -1, const [], const [5], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl( + r'hashCode', 2097155, -1, -1, 14, 14, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'runtimeType', 2097155, -1, -1, 21, 21, const [], const [], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 1, 1, 1, 1, const [], const [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], + const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 1, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 2, 49), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 3, 50), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 4, 51), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 5, 52), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 6, 53), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 7, 54), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 8, 55), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 9, 56), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 10, 57), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 11, 58), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 12, 59), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 13, 60), + r.MethodMirrorImpl( + r'props', 35651587, 1, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 1, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 1, -1, 1, 1, const [], const [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], + const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 2, 2, 2, 2, const [], const [30], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 2, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl( + r'toString', 2097154, 2, -1, 13, 13, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 14, 67), + r.MethodMirrorImpl( + r'props', 35651587, 2, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 2, -1, 2, 2, const [], const [31], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'stringify', 2097155, -1, -1, 9, 9, const [], const [], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 3, 3, 3, 3, const [], const [32, 33, 34], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 3, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 15, 73), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 16, 74), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 17, 75), + r.MethodMirrorImpl( + r'props', 35651587, 3, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 3, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 3, -1, 3, 3, const [], const [35, 36, 37], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 4, 4, 4, 4, const [], const [38, 39, 40], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 4, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 18, 81), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 19, 82), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 20, 83), + r.MethodMirrorImpl( + r'props', 35651587, 4, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 4, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 4, -1, 4, 4, const [], const [41, 42, 43], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 5, 5, 5, 5, const [], const [44], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 5, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'==', 2097154, 5, -1, 15, 15, const [], const [45], const prefix0.JsonSerializable(), const [override]), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 21, 90), + r.MethodMirrorImpl( + r'hashCode', 2097155, 5, -1, 14, 14, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'props', 35651587, 5, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 5, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 5, -1, 5, 5, const [], const [46], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 6, 6, 6, 6, const [], const [47, 48], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 6, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 22, 97), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 23, 98), + r.MethodMirrorImpl( + r'props', 35651587, 6, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 6, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 6, -1, 6, 6, const [], const [49, 50], const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'copyWith', 2097154, 7, 7, 7, 7, const [], const [51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61], + const prefix0.JsonSerializable(), const []), + r.MethodMirrorImpl(r'toJson', 35651586, 7, -1, 16, 17, null, const [], const prefix0.JsonSerializable(), const []), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 24, 104), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 25, 105), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 26, 106), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 27, 107), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 28, 108), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 29, 109), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 30, 110), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 31, 111), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 32, 112), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 33, 113), + r.ImplicitGetterMirrorImpl(const prefix0.JsonSerializable(), 34, 114), + r.MethodMirrorImpl( + r'props', 35651587, 7, -1, 19, 20, const [18], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl( + r'stringify', 2097155, 7, -1, 15, 15, const [], const [], const prefix0.JsonSerializable(), const [override]), + r.MethodMirrorImpl(r'', 128, 7, -1, 7, 7, const [], const [62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72], + const prefix0.JsonSerializable(), const []) + ], + [ + r.ParameterMirrorImpl( + r'currentPassword', 67252230, 35, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #currentPassword), + r.ParameterMirrorImpl( + r'newPassword', 67252230, 35, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #newPassword), + r.ParameterMirrorImpl( + r'currentPassword', 67253254, 41, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #currentPassword), + r.ParameterMirrorImpl( + r'newPassword', 67253254, 41, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #newPassword), + r.ParameterMirrorImpl(r'other', 134348806, 42, const prefix0.JsonSerializable(), -1, 22, 22, const [], const [], null, null), + r.ParameterMirrorImpl(r'invocation', 134348806, 44, const prefix0.JsonSerializable(), -1, 23, 23, const [], const [], null, null), + r.ParameterMirrorImpl(r'id', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'login', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #login), + r.ParameterMirrorImpl(r'firstName', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #firstName), + r.ParameterMirrorImpl(r'lastName', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastName), + r.ParameterMirrorImpl(r'email', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #email), + r.ParameterMirrorImpl(r'activated', 67252230, 47, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #activated), + r.ParameterMirrorImpl(r'langKey', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #langKey), + r.ParameterMirrorImpl(r'createdBy', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #createdBy), + r.ParameterMirrorImpl( + r'createdDate', 67252230, 47, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #createdDate), + r.ParameterMirrorImpl( + r'lastModifiedBy', 67252230, 47, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastModifiedBy), + r.ParameterMirrorImpl( + r'lastModifiedDate', 67252230, 47, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #lastModifiedDate), + r.ParameterMirrorImpl( + r'authorities', 84029446, 47, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), + r.ParameterMirrorImpl(r'id', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'login', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #login), + r.ParameterMirrorImpl(r'firstName', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #firstName), + r.ParameterMirrorImpl(r'lastName', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastName), + r.ParameterMirrorImpl(r'email', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #email), + r.ParameterMirrorImpl(r'activated', 67253254, 63, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #activated), + r.ParameterMirrorImpl(r'langKey', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #langKey), + r.ParameterMirrorImpl(r'createdBy', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #createdBy), + r.ParameterMirrorImpl( + r'createdDate', 67253254, 63, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #createdDate), + r.ParameterMirrorImpl( + r'lastModifiedBy', 67253254, 63, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #lastModifiedBy), + r.ParameterMirrorImpl( + r'lastModifiedDate', 67253254, 63, const prefix0.JsonSerializable(), -1, 10, 10, const [], const [], null, #lastModifiedDate), + r.ParameterMirrorImpl( + r'authorities', 84030470, 63, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), + r.ParameterMirrorImpl(r'name', 67252230, 64, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'name', 67253254, 69, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'id', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'plateCode', 67252230, 71, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #plateCode), + r.ParameterMirrorImpl(r'id', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'plateCode', 67253254, 78, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #plateCode), + r.ParameterMirrorImpl(r'id', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'code', 67252230, 79, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #code), + r.ParameterMirrorImpl(r'id', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl(r'code', 67253254, 86, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #code), + r.ParameterMirrorImpl(r'idToken', 67252230, 87, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #idToken), + r.ParameterMirrorImpl(r'other', 134348806, 89, const prefix0.JsonSerializable(), -1, 22, 22, const [], const [], null, null), + r.ParameterMirrorImpl(r'idToken', 67253254, 94, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #idToken), + r.ParameterMirrorImpl(r'username', 67252230, 95, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #username), + r.ParameterMirrorImpl(r'password', 67252230, 95, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #password), + r.ParameterMirrorImpl(r'username', 67240966, 101, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, null), + r.ParameterMirrorImpl(r'password', 67240966, 101, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, null), + r.ParameterMirrorImpl(r'id', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #id), + r.ParameterMirrorImpl(r'name', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #name), + r.ParameterMirrorImpl( + r'description', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #description), + r.ParameterMirrorImpl(r'url', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #url), + r.ParameterMirrorImpl(r'icon', 67252230, 102, const prefix0.JsonSerializable(), -1, 8, 8, const [], const [], null, #icon), + r.ParameterMirrorImpl( + r'orderPriority', 67252230, 102, const prefix0.JsonSerializable(), -1, 24, 24, const [], const [], null, #orderPriority), + r.ParameterMirrorImpl(r'active', 67252230, 102, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #active), + r.ParameterMirrorImpl(r'parent', 67252230, 102, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [], null, #parent), + r.ParameterMirrorImpl(r'level', 67252230, 102, const prefix0.JsonSerializable(), -1, 24, 24, const [], const [], null, #level), + r.ParameterMirrorImpl(r'leaf', 67252230, 102, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], null, #leaf), + r.ParameterMirrorImpl( + r'authorities', 84029446, 102, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], null, #authorities), + r.ParameterMirrorImpl(r'id', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #id), + r.ParameterMirrorImpl(r'name', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #name), + r.ParameterMirrorImpl( + r'description', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #description), + r.ParameterMirrorImpl(r'url', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #url), + r.ParameterMirrorImpl(r'icon', 134364166, 117, const prefix0.JsonSerializable(), -1, 13, 13, const [], const [], '', #icon), + r.ParameterMirrorImpl( + r'orderPriority', 134364166, 117, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [], 0, #orderPriority), + r.ParameterMirrorImpl(r'active', 134364166, 117, const prefix0.JsonSerializable(), -1, 15, 15, const [], const [], false, #active), + r.ParameterMirrorImpl(r'parent', 67253254, 117, const prefix0.JsonSerializable(), 7, 7, 7, const [], const [], null, #parent), + r.ParameterMirrorImpl(r'level', 134364166, 117, const prefix0.JsonSerializable(), -1, 14, 14, const [], const [], 0, #level), + r.ParameterMirrorImpl(r'leaf', 67255302, 117, const prefix0.JsonSerializable(), -1, 9, 9, const [], const [], false, #leaf), + r.ParameterMirrorImpl( + r'authorities', 84032518, 117, const prefix0.JsonSerializable(), -1, 11, 12, const [13], const [], const [], #authorities) + ], + [ + prefix1.PasswordChangeDTO, + prefix2.User, + prefix3.Authority, + prefix4.City, + prefix5.District, + prefix6.JWTToken, + prefix7.UserJWT, + prefix8.Menu, + String, + bool, + DateTime, + const m.TypeValue>().type, + List, + String, + int, + bool, + const m.TypeValue>().type, + Map, + Object, + const m.TypeValue().type, + List, + Type, + Object, + Invocation, + int + ], + 8, + { + r'==': (dynamic instance) => (x) => instance == x, + r'toString': (dynamic instance) => instance.toString, + r'noSuchMethod': (dynamic instance) => instance.noSuchMethod, + r'hashCode': (dynamic instance) => instance.hashCode, + r'runtimeType': (dynamic instance) => instance.runtimeType, + r'stringify': (dynamic instance) => instance.stringify, + r'copyWith': (dynamic instance) => instance.copyWith, + r'toJson': (dynamic instance) => instance.toJson, + r'currentPassword': (dynamic instance) => instance.currentPassword, + r'newPassword': (dynamic instance) => instance.newPassword, + r'props': (dynamic instance) => instance.props, + r'id': (dynamic instance) => instance.id, + r'login': (dynamic instance) => instance.login, + r'firstName': (dynamic instance) => instance.firstName, + r'lastName': (dynamic instance) => instance.lastName, + r'email': (dynamic instance) => instance.email, + r'activated': (dynamic instance) => instance.activated, + r'langKey': (dynamic instance) => instance.langKey, + r'createdBy': (dynamic instance) => instance.createdBy, + r'createdDate': (dynamic instance) => instance.createdDate, + r'lastModifiedBy': (dynamic instance) => instance.lastModifiedBy, + r'lastModifiedDate': (dynamic instance) => instance.lastModifiedDate, + r'authorities': (dynamic instance) => instance.authorities, + r'name': (dynamic instance) => instance.name, + r'plateCode': (dynamic instance) => instance.plateCode, + r'code': (dynamic instance) => instance.code, + r'idToken': (dynamic instance) => instance.idToken, + r'username': (dynamic instance) => instance.username, + r'password': (dynamic instance) => instance.password, + r'description': (dynamic instance) => instance.description, + r'url': (dynamic instance) => instance.url, + r'icon': (dynamic instance) => instance.icon, + r'orderPriority': (dynamic instance) => instance.orderPriority, + r'active': (dynamic instance) => instance.active, + r'parent': (dynamic instance) => instance.parent, + r'level': (dynamic instance) => instance.level, + r'leaf': (dynamic instance) => instance.leaf + }, + {}, + null, + []) +}; final _memberSymbolMap = null; @@ -62,84 +609,92 @@ void _initializeReflectable(JsonMapperAdapter adapter) { } final mainProdGeneratedAdapter = JsonMapperAdapter( - title: 'flutter_bloc_advance', - url: 'package:flutter_bloc_advance/main/main_prod.dart', - reflectableData: _data, - memberSymbolMap: _memberSymbolMap, - valueDecorators: { - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast(), - typeOf>(): (value) => value.cast() -}, - enumValues: { - x8.LogFormat: x8.LogFormat.values, - x9.Environment: x9.Environment.values, - x10.StorageKeys: x10.StorageKeys.values, - x10.StorageType: x10.StorageType.values, - x11.RouterType: x11.RouterType.values, - x12.AccountStatus: x12.AccountStatus.values, - x13.UserStatus: x13.UserStatus.values, - x14.ChangePasswordStatus: x14.ChangePasswordStatus.values, - x15.ForgotPasswordStatus: x15.ForgotPasswordStatus.values, - x16.LoginStatus: x16.LoginStatus.values, - x17.DrawerStateStatus: x17.DrawerStateStatus.values, - x18.EditorFormMode: x18.EditorFormMode.values, - x19.AuthorityStatus: x19.AuthorityStatus.values, - x20.CityStatus: x20.CityStatus.values, - x21.DistrictStatus: x21.DistrictStatus.values -}); + title: 'flutter_bloc_advance', + url: 'package:flutter_bloc_advance/main/main_prod.dart', + reflectableData: _data, + memberSymbolMap: _memberSymbolMap, + valueDecorators: { + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast(), + typeOf>(): (value) => value.cast() + }, + enumValues: { + x8.LogFormat: x8.LogFormat.values, + x9.Environment: x9.Environment.values, + x10.StorageKeys: x10.StorageKeys.values, + x10.StorageType: x10.StorageType.values, + x11.RouterType: x11.RouterType.values, + x12.AccountStatus: x12.AccountStatus.values, + x13.UserStatus: x13.UserStatus.values, + x14.ChangePasswordStatus: x14.ChangePasswordStatus.values, + x15.ForgotPasswordStatus: x15.ForgotPasswordStatus.values, + x16.LoginStatus: x16.LoginStatus.values, + x17.DrawerStateStatus: x17.DrawerStateStatus.values, + x18.EditorFormMode: x18.EditorFormMode.values, + x19.AuthorityStatus: x19.AuthorityStatus.values, + x20.CityStatus: x20.CityStatus.values, + x21.DistrictStatus: x21.DistrictStatus.values + }); -Future initializeJsonMapperAsync({Iterable adapters = const [], SerializationOptions? serializationOptions, DeserializationOptions? deserializationOptions}) => Future(() => initializeJsonMapper(adapters: adapters, serializationOptions: serializationOptions, deserializationOptions: deserializationOptions)); +Future initializeJsonMapperAsync( + {Iterable adapters = const [], + SerializationOptions? serializationOptions, + DeserializationOptions? deserializationOptions}) => + Future(() => + initializeJsonMapper(adapters: adapters, serializationOptions: serializationOptions, deserializationOptions: deserializationOptions)); -JsonMapper initializeJsonMapper({Iterable adapters = const [], SerializationOptions? serializationOptions, DeserializationOptions? deserializationOptions}) { +JsonMapper initializeJsonMapper( + {Iterable adapters = const [], + SerializationOptions? serializationOptions, + DeserializationOptions? deserializationOptions}) { JsonMapper.globalSerializationOptions = serializationOptions ?? JsonMapper.globalSerializationOptions; - JsonMapper.globalDeserializationOptions = deserializationOptions ?? JsonMapper.globalDeserializationOptions; + JsonMapper.globalDeserializationOptions = deserializationOptions ?? JsonMapper.globalDeserializationOptions; JsonMapper.enumerateAdapters([...adapters, mainProdGeneratedAdapter], (JsonMapperAdapter adapter) { _initializeReflectable(adapter); JsonMapper().useAdapter(adapter); }); return JsonMapper(); -} \ No newline at end of file +} diff --git a/lib/presentation/common_blocs/authority/authority_bloc.dart b/lib/presentation/common_blocs/authority/authority_bloc.dart index 8cc67c3..9d256b5 100644 --- a/lib/presentation/common_blocs/authority/authority_bloc.dart +++ b/lib/presentation/common_blocs/authority/authority_bloc.dart @@ -28,7 +28,7 @@ class AuthorityBloc extends Bloc { emit(const AuthorityLoadingState()); try { final authorities = await _repository.getAuthorities(); - if(authorities.isEmpty) { + if (authorities.isEmpty) { emit(const AuthorityLoadFailureState(message: "No authorities found")); _log.error("END: getAuthorities bloc: _onLoad error: {}", ["No authorities found"]); return; diff --git a/lib/presentation/common_widgets/drawer/drawer_bloc/drawer_event.dart b/lib/presentation/common_widgets/drawer/drawer_bloc/drawer_event.dart index e5772c0..3be10ba 100644 --- a/lib/presentation/common_widgets/drawer/drawer_bloc/drawer_event.dart +++ b/lib/presentation/common_widgets/drawer/drawer_bloc/drawer_event.dart @@ -37,4 +37,4 @@ class ChangeThemeEvent extends DrawerEvent { @override List get props => [theme]; -} \ No newline at end of file +} diff --git a/lib/presentation/common_widgets/drawer/drawer_bloc/drawer_state.dart b/lib/presentation/common_widgets/drawer/drawer_bloc/drawer_state.dart index aa49963..c8c93be 100644 --- a/lib/presentation/common_widgets/drawer/drawer_bloc/drawer_state.dart +++ b/lib/presentation/common_widgets/drawer/drawer_bloc/drawer_state.dart @@ -62,4 +62,4 @@ class DrawerLanguageChanged extends DrawerState { class DrawerThemeChanged extends DrawerState { const DrawerThemeChanged({required super.theme}) : super(status: DrawerStateStatus.success); -} \ No newline at end of file +} diff --git a/lib/presentation/screen/account/account_screen.dart b/lib/presentation/screen/account/account_screen.dart index 25346dd..acdf230 100644 --- a/lib/presentation/screen/account/account_screen.dart +++ b/lib/presentation/screen/account/account_screen.dart @@ -120,12 +120,12 @@ class AccountScreen extends StatelessWidget { final user = _createUserFromFormData(formData, state.data?.id); context.read().add(UserSubmitEvent(user)); - late final StreamSubscription userSubscription; - userSubscription = context.read().stream.listen((userState) { - if (userState.status == UserStatus.success && context.mounted) { + late final StreamSubscription subscription; + subscription = context.read().stream.listen((userState) { + if ((userState.status == UserStatus.success || userState.status == UserStatus.saveSuccess) && context.mounted) { context.read().add(const AccountFetchEvent()); _formKey.currentState?.reset(); - userSubscription.cancel(); + subscription.cancel(); } }); // cancel the stream after the first event } diff --git a/lib/presentation/screen/components/editor_form_mode.dart b/lib/presentation/screen/components/editor_form_mode.dart index 112f657..cea06c0 100644 --- a/lib/presentation/screen/components/editor_form_mode.dart +++ b/lib/presentation/screen/components/editor_form_mode.dart @@ -1,8 +1,7 @@ - /// Enum for the mode of the editor form /// /// The editor form can be in one of three modes: /// - create: the form is used to create a new entity /// - edit: the form is used to edit an existing entity /// - view: the form is used to view an existing entity -enum EditorFormMode { create, edit, view } \ No newline at end of file +enum EditorFormMode { create, edit, view } diff --git a/lib/presentation/screen/home/home_screen.dart b/lib/presentation/screen/home/home_screen.dart index 1db2203..b165538 100644 --- a/lib/presentation/screen/home/home_screen.dart +++ b/lib/presentation/screen/home/home_screen.dart @@ -41,7 +41,9 @@ class HomeScreen extends StatelessWidget { debugPrint("HomeScreen account bloc builder: ${state.status}"); if (state.status == AccountStatus.success) { return Scaffold( - appBar: AppBar(title: const Text(AppConstants.appName),), + appBar: AppBar( + title: const Text(AppConstants.appName), + ), key: _scaffoldKey, body: Center(child: Column(children: [backgroundImage(context)])), drawer: _buildDrawer(context), diff --git a/lib/presentation/screen/login/bloc/login_bloc.dart b/lib/presentation/screen/login/bloc/login_bloc.dart index b33edb5..aa842ce 100644 --- a/lib/presentation/screen/login/bloc/login_bloc.dart +++ b/lib/presentation/screen/login/bloc/login_bloc.dart @@ -48,7 +48,6 @@ class LoginBloc extends Bloc { _log.debug("onSubmit save storage username: {}", [event.username]); emit(LoginLoadedState(username: event.username, password: event.password)); - _log.debug("END:onSubmit LoginFormSubmitted event success: {}", [token.toString()]); } else { throw BadRequestException("Invalid Access Token"); diff --git a/lib/presentation/screen/settings/settings_screen.dart b/lib/presentation/screen/settings/settings_screen.dart index fc3e9aa..51e31d8 100644 --- a/lib/presentation/screen/settings/settings_screen.dart +++ b/lib/presentation/screen/settings/settings_screen.dart @@ -20,8 +20,8 @@ class SettingsScreen extends StatelessWidget { _buildAppBar(BuildContext context) { return AppBar( - title: Text(S.of(context).settings), - leading: IconButton(icon: const Icon(Icons.arrow_back), onPressed: () => AppRouter().push(context, ApplicationRoutesConstants.home)), + title: Text(S.of(context).settings), + leading: IconButton(icon: const Icon(Icons.arrow_back), onPressed: () => AppRouter().push(context, ApplicationRoutesConstants.home)), ); } diff --git a/lib/presentation/screen/user/list/list_user_screen.dart b/lib/presentation/screen/user/list/list_user_screen.dart index 569e5e5..229ac4e 100644 --- a/lib/presentation/screen/user/list/list_user_screen.dart +++ b/lib/presentation/screen/user/list/list_user_screen.dart @@ -1,12 +1,17 @@ +import 'dart:async'; + import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_bloc_advance/generated/l10n.dart'; -import 'package:flutter_bloc_advance/presentation/common_blocs/authority/authority.dart'; +import 'package:flutter_bloc_advance/presentation/screen/components/authority_lov_widget.dart'; import 'package:flutter_bloc_advance/presentation/screen/user/bloc/user.dart'; import 'package:flutter_form_builder/flutter_form_builder.dart'; import 'package:form_builder_validators/form_builder_validators.dart'; import 'package:go_router/go_router.dart'; +/// Main screen widget for displaying user list functionality. +/// Handles authority loading and user state changes. +/// Contains the main layout structure and search functionality. class ListUserScreen extends StatelessWidget { ListUserScreen({super.key}); @@ -14,7 +19,6 @@ class ListUserScreen extends StatelessWidget { @override Widget build(BuildContext context) { - _loadAuthority(context); return BlocListener( listenWhen: (previous, current) => previous.status != current.status, listener: _handleUserStateChanges, @@ -25,30 +29,32 @@ class ListUserScreen extends StatelessWidget { ); } - void _loadAuthority(BuildContext context) { - BlocProvider.of(context).add(const AuthorityLoad()); - } - void _handleUserStateChanges(BuildContext context, UserState state) { - if (state.status == UserStatus.success) { - _refreshUserList(context); + debugPrint("check: ${state.status}"); + switch (state.status) { + case UserStatus.searchSuccess: + case UserStatus.deleteSuccess: + case UserStatus.saveSuccess: + case UserStatus.viewSuccess: + _refreshUserList(context); + break; + default: + break; } } void _refreshUserList(BuildContext context) { + debugPrint("checkpoint: refresh user list 1"); if (_formKey.currentState?.saveAndValidate() ?? false) { - context.read().add( - UserSearch( - int.parse(_formKey.currentState!.fields['rangeStart']?.value), - int.parse(_formKey.currentState!.fields['rangeEnd']?.value), - _formKey.currentState!.fields['authority']?.value ?? "-", - _formKey.currentState!.fields['name']?.value ?? "", - ), - ); + debugPrint("checkpoint: refresh user list 2"); + context.read().add(const UserSearchEvent()); } } } +/// Responsible for creating responsive layout for the user list. +/// Adjusts the layout based on screen width constraints. +/// Shows error message if screen size is too small. class UserListView extends StatelessWidget { const UserListView({super.key}); @@ -71,6 +77,9 @@ class UserListView extends StatelessWidget { } } +/// Contains the main content structure for the user list. +/// Manages the layout of search section, table header and content. +/// Handles padding and spacing of main components. class UserListContent extends StatelessWidget { final double horizontalPadding; final double maxWidth; @@ -102,6 +111,9 @@ class UserListContent extends StatelessWidget { } } +/// Search section widget that contains filtering options. +/// Includes authority dropdown, pagination controls, and name search. +/// Manages form state for search parameters. class UserSearchSection extends StatelessWidget { final GlobalKey formKey; @@ -136,37 +148,9 @@ class UserSearchSection extends StatelessWidget { } } -class AuthorityDropdown extends StatelessWidget { - const AuthorityDropdown({super.key}); - - @override - Widget build(BuildContext context) { - return Padding( - padding: const EdgeInsets.only(right: 10), - child: BlocBuilder( - builder: (context, state) { - if (state is AuthorityLoadSuccessState) { - return FormBuilderDropdown( - name: 'authority', - decoration: InputDecoration( - hintText: S.of(context).authorities, - ), - items: state.authorities! - .map((role) => DropdownMenuItem( - value: role, - child: Text(role), - )) - .toList(), - initialValue: state.authorities![0], - ); - } - return const SizedBox.shrink(); - }, - ), - ); - } -} - +/// Handles pagination input controls. +/// Contains start and end range text fields. +/// Includes validation for numeric inputs. class PaginationControls extends StatelessWidget { const PaginationControls({super.key}); @@ -210,6 +194,8 @@ class PaginationControls extends StatelessWidget { } } +/// Text field widget for user name search functionality. +/// Provides filtering by user name. class SearchNameField extends StatelessWidget { const SearchNameField({super.key}); @@ -223,6 +209,9 @@ class SearchNameField extends StatelessWidget { } } +/// Contains search and create user action buttons. +/// Handles search submission and navigation to create user screen. +/// Manages form validation before search. class SearchActionButtons extends StatelessWidget { final GlobalKey formKey; @@ -245,7 +234,7 @@ class SearchActionButtons extends StatelessWidget { ElevatedButton( key: const Key("listUserCreateButtonKey"), style: _buttonStyle(), - onPressed: () => context.pushNamed('userCreate'), + onPressed: () => context.goNamed('userCreate'), child: Text(S.of(context).new_user), ), ], @@ -264,17 +253,20 @@ class SearchActionButtons extends StatelessWidget { void _handleSearch(BuildContext context) { if (formKey.currentState!.saveAndValidate()) { context.read().add( - UserSearch( - int.parse(formKey.currentState!.fields['rangeStart']?.value), - int.parse(formKey.currentState!.fields['rangeEnd']?.value), - formKey.currentState!.fields['authority']?.value ?? "-", - formKey.currentState!.fields['name']?.value ?? "", + UserSearchEvent( + page: int.parse(formKey.currentState!.fields['rangeStart']?.value), + size: int.parse(formKey.currentState!.fields['rangeEnd']?.value), + authority: formKey.currentState!.fields['authority']?.value ?? "-", + name: formKey.currentState!.fields['name']?.value ?? "", ), ); } } } +/// Displays the header row of the user table. +/// Shows column titles for user properties. +/// Manages layout and styling of header columns. class UserTableHeader extends StatelessWidget { const UserTableHeader({super.key}); @@ -306,6 +298,9 @@ class UserTableHeader extends StatelessWidget { } } +/// Reusable widget for table column headers. +/// Manages individual column header styling and layout. +/// Handles text alignment and flex sizing. class TableColumnHeader extends StatelessWidget { final int flex; final String title; @@ -331,6 +326,9 @@ class TableColumnHeader extends StatelessWidget { } } +/// Displays the main content of the user table. +/// Renders user list data from UserBloc state. +/// Creates UserTableRow widgets for each user. class UserTableContent extends StatelessWidget { final GlobalKey formKey; @@ -343,13 +341,13 @@ class UserTableContent extends StatelessWidget { Widget build(BuildContext context) { return BlocBuilder( builder: (context, state) { - if (state is UserSearchSuccessState) { + if (state.status == UserStatus.searchSuccess) { return ListView.builder( - itemCount: state.userList.length, + itemCount: state.userList?.length, shrinkWrap: true, physics: const ClampingScrollPhysics(), itemBuilder: (context, index) => UserTableRow( - user: state.userList[index], + user: state.userList?[index], index: index, formKey: formKey, ), @@ -361,6 +359,9 @@ class UserTableContent extends StatelessWidget { } } +/// Individual row widget for displaying user data. +/// Handles row styling (alternating colors). +/// Displays user properties and action buttons. class UserTableRow extends StatelessWidget { final dynamic user; final int index; @@ -418,6 +419,9 @@ class UserTableRow extends StatelessWidget { } } +/// Reusable cell widget for table data. +/// Manages individual cell content display. +/// Handles text alignment and flex sizing. class UserTableCell extends StatelessWidget { final int flex; final String text; @@ -439,6 +443,9 @@ class UserTableCell extends StatelessWidget { } } +/// Contains action buttons for each user row. +/// Handles edit, view, and delete operations. +/// Manages confirmation dialogs and navigation. class UserActionButtons extends StatelessWidget { final String userId; final GlobalKey formKey; @@ -489,17 +496,11 @@ class UserActionButtons extends StatelessWidget { } void _handleEdit(BuildContext context) { - context.pushNamed( - 'userEdit', - pathParameters: {'id': userId}, - ).then((_) => _refreshList(context)); + context.goNamed('userEdit', pathParameters: {'id': userId}); //then((_) => !context.mounted ? null : _refreshList(context)); } void _handleView(BuildContext context) { - context.pushNamed( - 'userView', - pathParameters: {'id': userId}, - ); + context.goNamed('userView', pathParameters: {'id': userId}); //.then((_) => !context.mounted ? null : _refreshList(context)); } void _showDeleteConfirmation(BuildContext context) { @@ -514,27 +515,33 @@ class UserActionButtons extends StatelessWidget { child: Text(S.of(context).no), ), TextButton( - onPressed: () { - Navigator.pop(context); - context.read().add(UserDeleteEvent(userId)); - }, - child: Text(S.of(context).yes), - ), + onPressed: () { + Navigator.pop(context); + context.read().add(UserDeleteEvent(userId)); + late final StreamSubscription subscription; + subscription = context.read().stream.listen((state) { + if (state.status == UserStatus.deleteSuccess && context.mounted) { + _refreshList(context); + subscription.cancel(); + } + }); + }, + child: Text(S.of(context).yes)), ], ), ); } void _refreshList(BuildContext context) { - if (formKey.currentState?.saveAndValidate() ?? false) { - context.read().add( - UserSearch( - int.parse(formKey.currentState!.fields['rangeStart']?.value), - int.parse(formKey.currentState!.fields['rangeEnd']?.value), - formKey.currentState!.fields['authority']?.value ?? "-", - formKey.currentState!.fields['name']?.value ?? "", - ), - ); - } + //if (formKey.currentState?.saveAndValidate() ?? false) { + context.read().add( + UserSearchEvent( + page: int.parse(formKey.currentState!.fields['rangeStart']?.value), + size: int.parse(formKey.currentState!.fields['rangeEnd']?.value), + authority: formKey.currentState!.fields['authority']?.value ?? "-", + name: formKey.currentState!.fields['name']?.value ?? "", + ), + ); + // } } } diff --git a/lib/routes/go_router_routes/app_go_router_config.dart b/lib/routes/go_router_routes/app_go_router_config.dart index e10d720..4df5846 100644 --- a/lib/routes/go_router_routes/app_go_router_config.dart +++ b/lib/routes/go_router_routes/app_go_router_config.dart @@ -70,7 +70,7 @@ class AppGoRouterConfig { return ApplicationRoutesConstants.login; } // check : when running in production mode and jwtToken is expired then redirect to login page - if(ProfileConstants.isProduction && SecurityUtils.isTokenExpired()) { + if (ProfileConstants.isProduction && SecurityUtils.isTokenExpired()) { _log.debug("END: redirect - jwtToken is expired"); return ApplicationRoutesConstants.login; }