nc-photos/app/lib/account.g.dart

84 lines
2.6 KiB
Dart
Raw Permalink Normal View History

2022-12-08 16:39:13 +01:00
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'account.dart';
// **************************************************************************
// CopyWithLintRuleGenerator
// **************************************************************************
// ignore_for_file: library_private_types_in_public_api, duplicate_ignore
// **************************************************************************
// CopyWithGenerator
// **************************************************************************
abstract class $AccountCopyWithWorker {
Account call(
{String? id,
String? scheme,
String? address,
CiString? userId,
String? username2,
String? password,
List<String>? roots});
}
class _$AccountCopyWithWorkerImpl implements $AccountCopyWithWorker {
_$AccountCopyWithWorkerImpl(this.that);
@override
Account call(
{dynamic id,
dynamic scheme,
dynamic address,
dynamic userId,
dynamic username2,
dynamic password,
dynamic roots}) {
return Account(
id: id as String? ?? that.id,
scheme: scheme as String? ?? that.scheme,
address: address as String? ?? that.address,
userId: userId as CiString? ?? that.userId,
username2: username2 as String? ?? that.username2,
password: password as String? ?? that.password,
roots: roots as List<String>? ?? List.of(that.roots));
}
final Account that;
}
extension $AccountCopyWith on Account {
$AccountCopyWithWorker get copyWith => _$copyWith;
$AccountCopyWithWorker get _$copyWith => _$AccountCopyWithWorkerImpl(this);
}
2022-12-16 16:01:04 +01:00
// **************************************************************************
// NpLogGenerator
// **************************************************************************
extension _$AccountNpLog on Account {
// ignore: unused_element
2022-12-20 17:49:14 +01:00
Logger get _log => log;
2022-12-16 16:01:04 +01:00
2022-12-20 17:49:14 +01:00
static final log = Logger("account.Account");
}
2022-12-16 16:01:04 +01:00
extension _$AccountUpgraderV1NpLog on AccountUpgraderV1 {
// ignore: unused_element
2022-12-20 17:49:14 +01:00
Logger get _log => log;
static final log = Logger("account.AccountUpgraderV1");
2022-12-16 16:01:04 +01:00
}
2022-12-08 16:39:13 +01:00
// **************************************************************************
// ToStringGenerator
// **************************************************************************
extension _$AccountToString on Account {
String _$toString() {
// ignore: unnecessary_string_interpolations
return "Account {id: $id, scheme: $scheme, address: ${kDebugMode ? address : '***'}, userId: ${kDebugMode ? userId : '***'}, username2: ${kDebugMode ? username2 : '***'}, password: ${password.isNotEmpty ? (kDebugMode ? password : '***') : null}, roots: ${roots.toReadableString()}}";
2022-12-08 16:39:13 +01:00
}
}