PMU/lib/presentation/know_bloc/know_state.g.dart

57 lines
2.1 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'know_state.dart';
// **************************************************************************
// CopyWithGenerator
// **************************************************************************
abstract class _$KnowStateCWProxy {
KnowState knownIds(List<String>? knownIds);
/// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored. You can also use `KnowState(...).copyWith.fieldName(...)` to override fields one at a time with nullification support.
///
/// Usage
/// ```dart
/// KnowState(...).copyWith(id: 12, name: "My name")
/// ````
KnowState call({
List<String>? knownIds,
});
}
/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfKnowState.copyWith(...)`. Additionally contains functions for specific fields e.g. `instanceOfKnowState.copyWith.fieldName(...)`
class _$KnowStateCWProxyImpl implements _$KnowStateCWProxy {
const _$KnowStateCWProxyImpl(this._value);
final KnowState _value;
@override
KnowState knownIds(List<String>? knownIds) => this(knownIds: knownIds);
@override
/// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored. You can also use `KnowState(...).copyWith.fieldName(...)` to override fields one at a time with nullification support.
///
/// Usage
/// ```dart
/// KnowState(...).copyWith(id: 12, name: "My name")
/// ````
KnowState call({
Object? knownIds = const $CopyWithPlaceholder(),
}) {
return KnowState(
knownIds: knownIds == const $CopyWithPlaceholder()
? _value.knownIds
// ignore: cast_nullable_to_non_nullable
: knownIds as List<String>?,
);
}
}
extension $KnowStateCopyWith on KnowState {
/// Returns a callable class that can be used as follows: `instanceOfKnowState.copyWith(...)` or like so:`instanceOfKnowState.copyWith.fieldName(...)`.
// ignore: library_private_types_in_public_api
_$KnowStateCWProxy get copyWith => _$KnowStateCWProxyImpl(this);
}