nc-photos/app/lib/entity/person.g.dart

48 lines
1.5 KiB
Dart
Raw Normal View History

2022-12-08 16:39:13 +01:00
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'person.dart';
2023-07-03 19:23:42 +02:00
// **************************************************************************
// CopyWithLintRuleGenerator
// **************************************************************************
// ignore_for_file: library_private_types_in_public_api, duplicate_ignore
// **************************************************************************
// CopyWithGenerator
// **************************************************************************
abstract class $PersonCopyWithWorker {
Person call({String? name, PersonContentProvider? contentProvider});
}
class _$PersonCopyWithWorkerImpl implements $PersonCopyWithWorker {
_$PersonCopyWithWorkerImpl(this.that);
@override
Person call({dynamic name, dynamic contentProvider}) {
return Person(
name: name as String? ?? that.name,
contentProvider:
contentProvider as PersonContentProvider? ?? that.contentProvider);
}
final Person that;
}
extension $PersonCopyWith on Person {
$PersonCopyWithWorker get copyWith => _$copyWith;
$PersonCopyWithWorker get _$copyWith => _$PersonCopyWithWorkerImpl(this);
}
2022-12-08 16:39:13 +01:00
// **************************************************************************
// ToStringGenerator
// **************************************************************************
extension _$PersonToString on Person {
String _$toString() {
// ignore: unnecessary_string_interpolations
2023-07-03 19:23:42 +02:00
return "Person {name: $name, contentProvider: $contentProvider}";
2022-12-08 16:39:13 +01:00
}
}