Re-generate freezed models.

This commit is contained in:
Dain Nilsson 2022-12-05 15:26:54 +01:00
parent a8abd7fd7c
commit 84210172bd
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
6 changed files with 22 additions and 14 deletions

View File

@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'models.dart';

View File

@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'models.dart';
@ -194,15 +194,15 @@ class _$PairCopyWithImpl<T1, T2, $Res, $Val extends Pair<T1, T2>>
@pragma('vm:prefer-inline')
@override
$Res call({
Object? first = null,
Object? second = null,
Object? first = freezed,
Object? second = freezed,
}) {
return _then(_value.copyWith(
first: null == first
first: freezed == first
? _value.first
: first // ignore: cast_nullable_to_non_nullable
as T1,
second: null == second
second: freezed == second
? _value.second
: second // ignore: cast_nullable_to_non_nullable
as T2,
@ -232,15 +232,15 @@ class __$$_PairCopyWithImpl<T1, T2, $Res>
@pragma('vm:prefer-inline')
@override
$Res call({
Object? first = null,
Object? second = null,
Object? first = freezed,
Object? second = freezed,
}) {
return _then(_$_Pair<T1, T2>(
null == first
freezed == first
? _value.first
: first // ignore: cast_nullable_to_non_nullable
as T1,
null == second
freezed == second
? _value.second
: second // ignore: cast_nullable_to_non_nullable
as T2,

View File

@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'models.dart';
@ -162,6 +162,7 @@ class _$Success implements Success {
final Map<String, dynamic> _body;
@override
Map<String, dynamic> get body {
if (_body is EqualUnmodifiableMapView) return _body;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView(_body);
}
@ -336,6 +337,7 @@ class _$Signal implements Signal {
final Map<String, dynamic> _body;
@override
Map<String, dynamic> get body {
if (_body is EqualUnmodifiableMapView) return _body;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView(_body);
}
@ -522,6 +524,7 @@ class _$RpcError implements RpcError {
final Map<String, dynamic> _body;
@override
Map<String, dynamic> get body {
if (_body is EqualUnmodifiableMapView) return _body;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView(_body);
}

View File

@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'models.dart';
@ -117,6 +117,7 @@ class _$_FidoState extends _FidoState {
final Map<String, dynamic> _info;
@override
Map<String, dynamic> get info {
if (_info is EqualUnmodifiableMapView) return _info;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView(_info);
}

View File

@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'models.dart';
@ -149,6 +149,8 @@ class _$_DeviceConfig implements _DeviceConfig {
final Map<Transport, int> _enabledCapabilities;
@override
Map<Transport, int> get enabledCapabilities {
if (_enabledCapabilities is EqualUnmodifiableMapView)
return _enabledCapabilities;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView(_enabledCapabilities);
}
@ -454,6 +456,8 @@ class _$_DeviceInfo implements _DeviceInfo {
final Map<Transport, int> _supportedCapabilities;
@override
Map<Transport, int> get supportedCapabilities {
if (_supportedCapabilities is EqualUnmodifiableMapView)
return _supportedCapabilities;
// ignore: implicit_dynamic_type
return EqualUnmodifiableMapView(_supportedCapabilities);
}

View File

@ -1,7 +1,7 @@
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
part of 'models.dart';