|
@@ -22,6 +22,7 @@ Groups _$GroupsFromJson(Map<String, dynamic> json) {
|
|
|
/// @nodoc
|
|
/// @nodoc
|
|
|
mixin _$Groups {
|
|
mixin _$Groups {
|
|
|
Normal? get normal => throw _privateConstructorUsedError;
|
|
Normal? get normal => throw _privateConstructorUsedError;
|
|
|
|
|
+ Normal? get streaming => throw _privateConstructorUsedError;
|
|
|
|
|
|
|
|
/// Serializes this Groups to a JSON map.
|
|
/// Serializes this Groups to a JSON map.
|
|
|
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
|
|
Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
|
|
@@ -37,9 +38,10 @@ abstract class $GroupsCopyWith<$Res> {
|
|
|
factory $GroupsCopyWith(Groups value, $Res Function(Groups) then) =
|
|
factory $GroupsCopyWith(Groups value, $Res Function(Groups) then) =
|
|
|
_$GroupsCopyWithImpl<$Res, Groups>;
|
|
_$GroupsCopyWithImpl<$Res, Groups>;
|
|
|
@useResult
|
|
@useResult
|
|
|
- $Res call({Normal? normal});
|
|
|
|
|
|
|
+ $Res call({Normal? normal, Normal? streaming});
|
|
|
|
|
|
|
|
$NormalCopyWith<$Res>? get normal;
|
|
$NormalCopyWith<$Res>? get normal;
|
|
|
|
|
+ $NormalCopyWith<$Res>? get streaming;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// @nodoc
|
|
/// @nodoc
|
|
@@ -56,13 +58,17 @@ class _$GroupsCopyWithImpl<$Res, $Val extends Groups>
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
@pragma('vm:prefer-inline')
|
|
@pragma('vm:prefer-inline')
|
|
|
@override
|
|
@override
|
|
|
- $Res call({Object? normal = freezed}) {
|
|
|
|
|
|
|
+ $Res call({Object? normal = freezed, Object? streaming = freezed}) {
|
|
|
return _then(
|
|
return _then(
|
|
|
_value.copyWith(
|
|
_value.copyWith(
|
|
|
normal: freezed == normal
|
|
normal: freezed == normal
|
|
|
? _value.normal
|
|
? _value.normal
|
|
|
: normal // ignore: cast_nullable_to_non_nullable
|
|
: normal // ignore: cast_nullable_to_non_nullable
|
|
|
as Normal?,
|
|
as Normal?,
|
|
|
|
|
+ streaming: freezed == streaming
|
|
|
|
|
+ ? _value.streaming
|
|
|
|
|
+ : streaming // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
+ as Normal?,
|
|
|
)
|
|
)
|
|
|
as $Val,
|
|
as $Val,
|
|
|
);
|
|
);
|
|
@@ -81,6 +87,20 @@ class _$GroupsCopyWithImpl<$Res, $Val extends Groups>
|
|
|
return _then(_value.copyWith(normal: value) as $Val);
|
|
return _then(_value.copyWith(normal: value) as $Val);
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /// Create a copy of Groups
|
|
|
|
|
+ /// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
+ @override
|
|
|
|
|
+ @pragma('vm:prefer-inline')
|
|
|
|
|
+ $NormalCopyWith<$Res>? get streaming {
|
|
|
|
|
+ if (_value.streaming == null) {
|
|
|
|
|
+ return null;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return $NormalCopyWith<$Res>(_value.streaming!, (value) {
|
|
|
|
|
+ return _then(_value.copyWith(streaming: value) as $Val);
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// @nodoc
|
|
/// @nodoc
|
|
@@ -91,10 +111,12 @@ abstract class _$$GroupsImplCopyWith<$Res> implements $GroupsCopyWith<$Res> {
|
|
|
) = __$$GroupsImplCopyWithImpl<$Res>;
|
|
) = __$$GroupsImplCopyWithImpl<$Res>;
|
|
|
@override
|
|
@override
|
|
|
@useResult
|
|
@useResult
|
|
|
- $Res call({Normal? normal});
|
|
|
|
|
|
|
+ $Res call({Normal? normal, Normal? streaming});
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
|
$NormalCopyWith<$Res>? get normal;
|
|
$NormalCopyWith<$Res>? get normal;
|
|
|
|
|
+ @override
|
|
|
|
|
+ $NormalCopyWith<$Res>? get streaming;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// @nodoc
|
|
/// @nodoc
|
|
@@ -110,13 +132,17 @@ class __$$GroupsImplCopyWithImpl<$Res>
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
|
@pragma('vm:prefer-inline')
|
|
@pragma('vm:prefer-inline')
|
|
|
@override
|
|
@override
|
|
|
- $Res call({Object? normal = freezed}) {
|
|
|
|
|
|
|
+ $Res call({Object? normal = freezed, Object? streaming = freezed}) {
|
|
|
return _then(
|
|
return _then(
|
|
|
_$GroupsImpl(
|
|
_$GroupsImpl(
|
|
|
normal: freezed == normal
|
|
normal: freezed == normal
|
|
|
? _value.normal
|
|
? _value.normal
|
|
|
: normal // ignore: cast_nullable_to_non_nullable
|
|
: normal // ignore: cast_nullable_to_non_nullable
|
|
|
as Normal?,
|
|
as Normal?,
|
|
|
|
|
+ streaming: freezed == streaming
|
|
|
|
|
+ ? _value.streaming
|
|
|
|
|
+ : streaming // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
+ as Normal?,
|
|
|
),
|
|
),
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
@@ -125,17 +151,19 @@ class __$$GroupsImplCopyWithImpl<$Res>
|
|
|
/// @nodoc
|
|
/// @nodoc
|
|
|
@JsonSerializable()
|
|
@JsonSerializable()
|
|
|
class _$GroupsImpl with DiagnosticableTreeMixin implements _Groups {
|
|
class _$GroupsImpl with DiagnosticableTreeMixin implements _Groups {
|
|
|
- const _$GroupsImpl({this.normal});
|
|
|
|
|
|
|
+ const _$GroupsImpl({this.normal, this.streaming});
|
|
|
|
|
|
|
|
factory _$GroupsImpl.fromJson(Map<String, dynamic> json) =>
|
|
factory _$GroupsImpl.fromJson(Map<String, dynamic> json) =>
|
|
|
_$$GroupsImplFromJson(json);
|
|
_$$GroupsImplFromJson(json);
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
|
final Normal? normal;
|
|
final Normal? normal;
|
|
|
|
|
+ @override
|
|
|
|
|
+ final Normal? streaming;
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
|
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
|
- return 'Groups(normal: $normal)';
|
|
|
|
|
|
|
+ return 'Groups(normal: $normal, streaming: $streaming)';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
@@ -143,7 +171,8 @@ class _$GroupsImpl with DiagnosticableTreeMixin implements _Groups {
|
|
|
super.debugFillProperties(properties);
|
|
super.debugFillProperties(properties);
|
|
|
properties
|
|
properties
|
|
|
..add(DiagnosticsProperty('type', 'Groups'))
|
|
..add(DiagnosticsProperty('type', 'Groups'))
|
|
|
- ..add(DiagnosticsProperty('normal', normal));
|
|
|
|
|
|
|
+ ..add(DiagnosticsProperty('normal', normal))
|
|
|
|
|
+ ..add(DiagnosticsProperty('streaming', streaming));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
@@ -151,12 +180,14 @@ class _$GroupsImpl with DiagnosticableTreeMixin implements _Groups {
|
|
|
return identical(this, other) ||
|
|
return identical(this, other) ||
|
|
|
(other.runtimeType == runtimeType &&
|
|
(other.runtimeType == runtimeType &&
|
|
|
other is _$GroupsImpl &&
|
|
other is _$GroupsImpl &&
|
|
|
- (identical(other.normal, normal) || other.normal == normal));
|
|
|
|
|
|
|
+ (identical(other.normal, normal) || other.normal == normal) &&
|
|
|
|
|
+ (identical(other.streaming, streaming) ||
|
|
|
|
|
+ other.streaming == streaming));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
@override
|
|
@override
|
|
|
- int get hashCode => Object.hash(runtimeType, normal);
|
|
|
|
|
|
|
+ int get hashCode => Object.hash(runtimeType, normal, streaming);
|
|
|
|
|
|
|
|
/// Create a copy of Groups
|
|
/// Create a copy of Groups
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
@@ -173,12 +204,15 @@ class _$GroupsImpl with DiagnosticableTreeMixin implements _Groups {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
abstract class _Groups implements Groups {
|
|
abstract class _Groups implements Groups {
|
|
|
- const factory _Groups({final Normal? normal}) = _$GroupsImpl;
|
|
|
|
|
|
|
+ const factory _Groups({final Normal? normal, final Normal? streaming}) =
|
|
|
|
|
+ _$GroupsImpl;
|
|
|
|
|
|
|
|
factory _Groups.fromJson(Map<String, dynamic> json) = _$GroupsImpl.fromJson;
|
|
factory _Groups.fromJson(Map<String, dynamic> json) = _$GroupsImpl.fromJson;
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
|
Normal? get normal;
|
|
Normal? get normal;
|
|
|
|
|
+ @override
|
|
|
|
|
+ Normal? get streaming;
|
|
|
|
|
|
|
|
/// Create a copy of Groups
|
|
/// Create a copy of Groups
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
@@ -874,8 +908,6 @@ mixin _$Locations {
|
|
|
int? get id => throw _privateConstructorUsedError;
|
|
int? get id => throw _privateConstructorUsedError;
|
|
|
String? get name => throw _privateConstructorUsedError;
|
|
String? get name => throw _privateConstructorUsedError;
|
|
|
String? get code => throw _privateConstructorUsedError;
|
|
String? get code => throw _privateConstructorUsedError;
|
|
|
- Param? get param => throw _privateConstructorUsedError;
|
|
|
|
|
- dynamic get paramV2 => throw _privateConstructorUsedError;
|
|
|
|
|
String? get icon => throw _privateConstructorUsedError;
|
|
String? get icon => throw _privateConstructorUsedError;
|
|
|
String? get country => throw _privateConstructorUsedError;
|
|
String? get country => throw _privateConstructorUsedError;
|
|
|
int? get sort => throw _privateConstructorUsedError;
|
|
int? get sort => throw _privateConstructorUsedError;
|
|
@@ -900,15 +932,11 @@ abstract class $LocationsCopyWith<$Res> {
|
|
|
int? id,
|
|
int? id,
|
|
|
String? name,
|
|
String? name,
|
|
|
String? code,
|
|
String? code,
|
|
|
- Param? param,
|
|
|
|
|
- dynamic paramV2,
|
|
|
|
|
String? icon,
|
|
String? icon,
|
|
|
String? country,
|
|
String? country,
|
|
|
int? sort,
|
|
int? sort,
|
|
|
int? latency,
|
|
int? latency,
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
- $ParamCopyWith<$Res>? get param;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// @nodoc
|
|
/// @nodoc
|
|
@@ -929,8 +957,6 @@ class _$LocationsCopyWithImpl<$Res, $Val extends Locations>
|
|
|
Object? id = freezed,
|
|
Object? id = freezed,
|
|
|
Object? name = freezed,
|
|
Object? name = freezed,
|
|
|
Object? code = freezed,
|
|
Object? code = freezed,
|
|
|
- Object? param = freezed,
|
|
|
|
|
- Object? paramV2 = freezed,
|
|
|
|
|
Object? icon = freezed,
|
|
Object? icon = freezed,
|
|
|
Object? country = freezed,
|
|
Object? country = freezed,
|
|
|
Object? sort = freezed,
|
|
Object? sort = freezed,
|
|
@@ -950,14 +976,6 @@ class _$LocationsCopyWithImpl<$Res, $Val extends Locations>
|
|
|
? _value.code
|
|
? _value.code
|
|
|
: code // ignore: cast_nullable_to_non_nullable
|
|
: code // ignore: cast_nullable_to_non_nullable
|
|
|
as String?,
|
|
as String?,
|
|
|
- param: freezed == param
|
|
|
|
|
- ? _value.param
|
|
|
|
|
- : param // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
- as Param?,
|
|
|
|
|
- paramV2: freezed == paramV2
|
|
|
|
|
- ? _value.paramV2
|
|
|
|
|
- : paramV2 // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
- as dynamic,
|
|
|
|
|
icon: freezed == icon
|
|
icon: freezed == icon
|
|
|
? _value.icon
|
|
? _value.icon
|
|
|
: icon // ignore: cast_nullable_to_non_nullable
|
|
: icon // ignore: cast_nullable_to_non_nullable
|
|
@@ -978,20 +996,6 @@ class _$LocationsCopyWithImpl<$Res, $Val extends Locations>
|
|
|
as $Val,
|
|
as $Val,
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- /// Create a copy of Locations
|
|
|
|
|
- /// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
- @override
|
|
|
|
|
- @pragma('vm:prefer-inline')
|
|
|
|
|
- $ParamCopyWith<$Res>? get param {
|
|
|
|
|
- if (_value.param == null) {
|
|
|
|
|
- return null;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- return $ParamCopyWith<$Res>(_value.param!, (value) {
|
|
|
|
|
- return _then(_value.copyWith(param: value) as $Val);
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// @nodoc
|
|
/// @nodoc
|
|
@@ -1007,16 +1011,11 @@ abstract class _$$LocationsImplCopyWith<$Res>
|
|
|
int? id,
|
|
int? id,
|
|
|
String? name,
|
|
String? name,
|
|
|
String? code,
|
|
String? code,
|
|
|
- Param? param,
|
|
|
|
|
- dynamic paramV2,
|
|
|
|
|
String? icon,
|
|
String? icon,
|
|
|
String? country,
|
|
String? country,
|
|
|
int? sort,
|
|
int? sort,
|
|
|
int? latency,
|
|
int? latency,
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
- @override
|
|
|
|
|
- $ParamCopyWith<$Res>? get param;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/// @nodoc
|
|
/// @nodoc
|
|
@@ -1036,8 +1035,6 @@ class __$$LocationsImplCopyWithImpl<$Res>
|
|
|
Object? id = freezed,
|
|
Object? id = freezed,
|
|
|
Object? name = freezed,
|
|
Object? name = freezed,
|
|
|
Object? code = freezed,
|
|
Object? code = freezed,
|
|
|
- Object? param = freezed,
|
|
|
|
|
- Object? paramV2 = freezed,
|
|
|
|
|
Object? icon = freezed,
|
|
Object? icon = freezed,
|
|
|
Object? country = freezed,
|
|
Object? country = freezed,
|
|
|
Object? sort = freezed,
|
|
Object? sort = freezed,
|
|
@@ -1057,14 +1054,6 @@ class __$$LocationsImplCopyWithImpl<$Res>
|
|
|
? _value.code
|
|
? _value.code
|
|
|
: code // ignore: cast_nullable_to_non_nullable
|
|
: code // ignore: cast_nullable_to_non_nullable
|
|
|
as String?,
|
|
as String?,
|
|
|
- param: freezed == param
|
|
|
|
|
- ? _value.param
|
|
|
|
|
- : param // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
- as Param?,
|
|
|
|
|
- paramV2: freezed == paramV2
|
|
|
|
|
- ? _value.paramV2
|
|
|
|
|
- : paramV2 // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
- as dynamic,
|
|
|
|
|
icon: freezed == icon
|
|
icon: freezed == icon
|
|
|
? _value.icon
|
|
? _value.icon
|
|
|
: icon // ignore: cast_nullable_to_non_nullable
|
|
: icon // ignore: cast_nullable_to_non_nullable
|
|
@@ -1093,8 +1082,6 @@ class _$LocationsImpl with DiagnosticableTreeMixin implements _Locations {
|
|
|
this.id,
|
|
this.id,
|
|
|
this.name,
|
|
this.name,
|
|
|
this.code,
|
|
this.code,
|
|
|
- this.param,
|
|
|
|
|
- this.paramV2,
|
|
|
|
|
this.icon,
|
|
this.icon,
|
|
|
this.country,
|
|
this.country,
|
|
|
this.sort,
|
|
this.sort,
|
|
@@ -1111,10 +1098,6 @@ class _$LocationsImpl with DiagnosticableTreeMixin implements _Locations {
|
|
|
@override
|
|
@override
|
|
|
final String? code;
|
|
final String? code;
|
|
|
@override
|
|
@override
|
|
|
- final Param? param;
|
|
|
|
|
- @override
|
|
|
|
|
- final dynamic paramV2;
|
|
|
|
|
- @override
|
|
|
|
|
final String? icon;
|
|
final String? icon;
|
|
|
@override
|
|
@override
|
|
|
final String? country;
|
|
final String? country;
|
|
@@ -1125,7 +1108,7 @@ class _$LocationsImpl with DiagnosticableTreeMixin implements _Locations {
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
|
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
|
- return 'Locations(id: $id, name: $name, code: $code, param: $param, paramV2: $paramV2, icon: $icon, country: $country, sort: $sort, latency: $latency)';
|
|
|
|
|
|
|
+ return 'Locations(id: $id, name: $name, code: $code, icon: $icon, country: $country, sort: $sort, latency: $latency)';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
@override
|
|
@@ -1136,8 +1119,6 @@ class _$LocationsImpl with DiagnosticableTreeMixin implements _Locations {
|
|
|
..add(DiagnosticsProperty('id', id))
|
|
..add(DiagnosticsProperty('id', id))
|
|
|
..add(DiagnosticsProperty('name', name))
|
|
..add(DiagnosticsProperty('name', name))
|
|
|
..add(DiagnosticsProperty('code', code))
|
|
..add(DiagnosticsProperty('code', code))
|
|
|
- ..add(DiagnosticsProperty('param', param))
|
|
|
|
|
- ..add(DiagnosticsProperty('paramV2', paramV2))
|
|
|
|
|
..add(DiagnosticsProperty('icon', icon))
|
|
..add(DiagnosticsProperty('icon', icon))
|
|
|
..add(DiagnosticsProperty('country', country))
|
|
..add(DiagnosticsProperty('country', country))
|
|
|
..add(DiagnosticsProperty('sort', sort))
|
|
..add(DiagnosticsProperty('sort', sort))
|
|
@@ -1152,8 +1133,6 @@ class _$LocationsImpl with DiagnosticableTreeMixin implements _Locations {
|
|
|
(identical(other.id, id) || other.id == id) &&
|
|
(identical(other.id, id) || other.id == id) &&
|
|
|
(identical(other.name, name) || other.name == name) &&
|
|
(identical(other.name, name) || other.name == name) &&
|
|
|
(identical(other.code, code) || other.code == code) &&
|
|
(identical(other.code, code) || other.code == code) &&
|
|
|
- (identical(other.param, param) || other.param == param) &&
|
|
|
|
|
- const DeepCollectionEquality().equals(other.paramV2, paramV2) &&
|
|
|
|
|
(identical(other.icon, icon) || other.icon == icon) &&
|
|
(identical(other.icon, icon) || other.icon == icon) &&
|
|
|
(identical(other.country, country) || other.country == country) &&
|
|
(identical(other.country, country) || other.country == country) &&
|
|
|
(identical(other.sort, sort) || other.sort == sort) &&
|
|
(identical(other.sort, sort) || other.sort == sort) &&
|
|
@@ -1162,18 +1141,8 @@ class _$LocationsImpl with DiagnosticableTreeMixin implements _Locations {
|
|
|
|
|
|
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
@JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
@override
|
|
@override
|
|
|
- int get hashCode => Object.hash(
|
|
|
|
|
- runtimeType,
|
|
|
|
|
- id,
|
|
|
|
|
- name,
|
|
|
|
|
- code,
|
|
|
|
|
- param,
|
|
|
|
|
- const DeepCollectionEquality().hash(paramV2),
|
|
|
|
|
- icon,
|
|
|
|
|
- country,
|
|
|
|
|
- sort,
|
|
|
|
|
- latency,
|
|
|
|
|
- );
|
|
|
|
|
|
|
+ int get hashCode =>
|
|
|
|
|
+ Object.hash(runtimeType, id, name, code, icon, country, sort, latency);
|
|
|
|
|
|
|
|
/// Create a copy of Locations
|
|
/// Create a copy of Locations
|
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
/// with the given fields replaced by the non-null parameter values.
|
|
@@ -1194,8 +1163,6 @@ abstract class _Locations implements Locations {
|
|
|
final int? id,
|
|
final int? id,
|
|
|
final String? name,
|
|
final String? name,
|
|
|
final String? code,
|
|
final String? code,
|
|
|
- final Param? param,
|
|
|
|
|
- final dynamic paramV2,
|
|
|
|
|
final String? icon,
|
|
final String? icon,
|
|
|
final String? country,
|
|
final String? country,
|
|
|
final int? sort,
|
|
final int? sort,
|
|
@@ -1212,10 +1179,6 @@ abstract class _Locations implements Locations {
|
|
|
@override
|
|
@override
|
|
|
String? get code;
|
|
String? get code;
|
|
|
@override
|
|
@override
|
|
|
- Param? get param;
|
|
|
|
|
- @override
|
|
|
|
|
- dynamic get paramV2;
|
|
|
|
|
- @override
|
|
|
|
|
String? get icon;
|
|
String? get icon;
|
|
|
@override
|
|
@override
|
|
|
String? get country;
|
|
String? get country;
|
|
@@ -1231,157 +1194,3 @@ abstract class _Locations implements Locations {
|
|
|
_$$LocationsImplCopyWith<_$LocationsImpl> get copyWith =>
|
|
_$$LocationsImplCopyWith<_$LocationsImpl> get copyWith =>
|
|
|
throw _privateConstructorUsedError;
|
|
throw _privateConstructorUsedError;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-Param _$ParamFromJson(Map<String, dynamic> json) {
|
|
|
|
|
- return _Param.fromJson(json);
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-/// @nodoc
|
|
|
|
|
-mixin _$Param {
|
|
|
|
|
- String? get g => throw _privateConstructorUsedError;
|
|
|
|
|
-
|
|
|
|
|
- /// Serializes this Param to a JSON map.
|
|
|
|
|
- Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
|
|
|
|
|
-
|
|
|
|
|
- /// Create a copy of Param
|
|
|
|
|
- /// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
- @JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
- $ParamCopyWith<Param> get copyWith => throw _privateConstructorUsedError;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-/// @nodoc
|
|
|
|
|
-abstract class $ParamCopyWith<$Res> {
|
|
|
|
|
- factory $ParamCopyWith(Param value, $Res Function(Param) then) =
|
|
|
|
|
- _$ParamCopyWithImpl<$Res, Param>;
|
|
|
|
|
- @useResult
|
|
|
|
|
- $Res call({String? g});
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-/// @nodoc
|
|
|
|
|
-class _$ParamCopyWithImpl<$Res, $Val extends Param>
|
|
|
|
|
- implements $ParamCopyWith<$Res> {
|
|
|
|
|
- _$ParamCopyWithImpl(this._value, this._then);
|
|
|
|
|
-
|
|
|
|
|
- // ignore: unused_field
|
|
|
|
|
- final $Val _value;
|
|
|
|
|
- // ignore: unused_field
|
|
|
|
|
- final $Res Function($Val) _then;
|
|
|
|
|
-
|
|
|
|
|
- /// Create a copy of Param
|
|
|
|
|
- /// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
- @pragma('vm:prefer-inline')
|
|
|
|
|
- @override
|
|
|
|
|
- $Res call({Object? g = freezed}) {
|
|
|
|
|
- return _then(
|
|
|
|
|
- _value.copyWith(
|
|
|
|
|
- g: freezed == g
|
|
|
|
|
- ? _value.g
|
|
|
|
|
- : g // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
- as String?,
|
|
|
|
|
- )
|
|
|
|
|
- as $Val,
|
|
|
|
|
- );
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-/// @nodoc
|
|
|
|
|
-abstract class _$$ParamImplCopyWith<$Res> implements $ParamCopyWith<$Res> {
|
|
|
|
|
- factory _$$ParamImplCopyWith(
|
|
|
|
|
- _$ParamImpl value,
|
|
|
|
|
- $Res Function(_$ParamImpl) then,
|
|
|
|
|
- ) = __$$ParamImplCopyWithImpl<$Res>;
|
|
|
|
|
- @override
|
|
|
|
|
- @useResult
|
|
|
|
|
- $Res call({String? g});
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-/// @nodoc
|
|
|
|
|
-class __$$ParamImplCopyWithImpl<$Res>
|
|
|
|
|
- extends _$ParamCopyWithImpl<$Res, _$ParamImpl>
|
|
|
|
|
- implements _$$ParamImplCopyWith<$Res> {
|
|
|
|
|
- __$$ParamImplCopyWithImpl(
|
|
|
|
|
- _$ParamImpl _value,
|
|
|
|
|
- $Res Function(_$ParamImpl) _then,
|
|
|
|
|
- ) : super(_value, _then);
|
|
|
|
|
-
|
|
|
|
|
- /// Create a copy of Param
|
|
|
|
|
- /// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
- @pragma('vm:prefer-inline')
|
|
|
|
|
- @override
|
|
|
|
|
- $Res call({Object? g = freezed}) {
|
|
|
|
|
- return _then(
|
|
|
|
|
- _$ParamImpl(
|
|
|
|
|
- g: freezed == g
|
|
|
|
|
- ? _value.g
|
|
|
|
|
- : g // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
- as String?,
|
|
|
|
|
- ),
|
|
|
|
|
- );
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-/// @nodoc
|
|
|
|
|
-@JsonSerializable()
|
|
|
|
|
-class _$ParamImpl with DiagnosticableTreeMixin implements _Param {
|
|
|
|
|
- const _$ParamImpl({this.g});
|
|
|
|
|
-
|
|
|
|
|
- factory _$ParamImpl.fromJson(Map<String, dynamic> json) =>
|
|
|
|
|
- _$$ParamImplFromJson(json);
|
|
|
|
|
-
|
|
|
|
|
- @override
|
|
|
|
|
- final String? g;
|
|
|
|
|
-
|
|
|
|
|
- @override
|
|
|
|
|
- String toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) {
|
|
|
|
|
- return 'Param(g: $g)';
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @override
|
|
|
|
|
- void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
|
|
|
|
- super.debugFillProperties(properties);
|
|
|
|
|
- properties
|
|
|
|
|
- ..add(DiagnosticsProperty('type', 'Param'))
|
|
|
|
|
- ..add(DiagnosticsProperty('g', g));
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @override
|
|
|
|
|
- bool operator ==(Object other) {
|
|
|
|
|
- return identical(this, other) ||
|
|
|
|
|
- (other.runtimeType == runtimeType &&
|
|
|
|
|
- other is _$ParamImpl &&
|
|
|
|
|
- (identical(other.g, g) || other.g == g));
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
- @override
|
|
|
|
|
- int get hashCode => Object.hash(runtimeType, g);
|
|
|
|
|
-
|
|
|
|
|
- /// Create a copy of Param
|
|
|
|
|
- /// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
- @JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
- @override
|
|
|
|
|
- @pragma('vm:prefer-inline')
|
|
|
|
|
- _$$ParamImplCopyWith<_$ParamImpl> get copyWith =>
|
|
|
|
|
- __$$ParamImplCopyWithImpl<_$ParamImpl>(this, _$identity);
|
|
|
|
|
-
|
|
|
|
|
- @override
|
|
|
|
|
- Map<String, dynamic> toJson() {
|
|
|
|
|
- return _$$ParamImplToJson(this);
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-abstract class _Param implements Param {
|
|
|
|
|
- const factory _Param({final String? g}) = _$ParamImpl;
|
|
|
|
|
-
|
|
|
|
|
- factory _Param.fromJson(Map<String, dynamic> json) = _$ParamImpl.fromJson;
|
|
|
|
|
-
|
|
|
|
|
- @override
|
|
|
|
|
- String? get g;
|
|
|
|
|
-
|
|
|
|
|
- /// Create a copy of Param
|
|
|
|
|
- /// with the given fields replaced by the non-null parameter values.
|
|
|
|
|
- @override
|
|
|
|
|
- @JsonKey(includeFromJson: false, includeToJson: false)
|
|
|
|
|
- _$$ParamImplCopyWith<_$ParamImpl> get copyWith =>
|
|
|
|
|
- throw _privateConstructorUsedError;
|
|
|
|
|
-}
|
|
|