|
|
@ -9,7 +9,9 @@ part of 'config.dart'; |
|
|
|
Serializers _$_serializers = (Serializers().toBuilder() |
|
|
|
Serializers _$_serializers = (Serializers().toBuilder() |
|
|
|
..add(DynamiteConfig.serializer) |
|
|
|
..add(DynamiteConfig.serializer) |
|
|
|
..addBuilderFactory(const FullType(BuiltSet, [FullType(String)]), () => SetBuilder<String>()) |
|
|
|
..addBuilderFactory(const FullType(BuiltSet, [FullType(String)]), () => SetBuilder<String>()) |
|
|
|
..addBuilderFactory(const FullType(BuiltSet, [FullType(String)]), () => SetBuilder<String>())) |
|
|
|
..addBuilderFactory(const FullType(BuiltSet, [FullType(String)]), () => SetBuilder<String>()) |
|
|
|
|
|
|
|
..addBuilderFactory(const FullType(BuiltMap, [FullType(String), FullType(DynamiteConfig)]), |
|
|
|
|
|
|
|
() => MapBuilder<String, DynamiteConfig>())) |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
Serializer<DynamiteConfig> _$dynamiteConfigSerializer = _$DynamiteConfigSerializer(); |
|
|
|
Serializer<DynamiteConfig> _$dynamiteConfigSerializer = _$DynamiteConfigSerializer(); |
|
|
|
|
|
|
|
|
|
|
@ -22,7 +24,10 @@ class _$DynamiteConfigSerializer implements StructuredSerializer<DynamiteConfig> |
|
|
|
@override |
|
|
|
@override |
|
|
|
Iterable<Object?> serialize(Serializers serializers, DynamiteConfig object, |
|
|
|
Iterable<Object?> serialize(Serializers serializers, DynamiteConfig object, |
|
|
|
{FullType specifiedType = FullType.unspecified}) { |
|
|
|
{FullType specifiedType = FullType.unspecified}) { |
|
|
|
final result = <Object?>[]; |
|
|
|
final result = <Object?>[ |
|
|
|
|
|
|
|
'applyOptimizations', |
|
|
|
|
|
|
|
serializers.serialize(object.applyOptimizations, specifiedType: const FullType(bool)), |
|
|
|
|
|
|
|
]; |
|
|
|
Object? value; |
|
|
|
Object? value; |
|
|
|
value = object.analyzerIgnores; |
|
|
|
value = object.analyzerIgnores; |
|
|
|
if (value != null) { |
|
|
|
if (value != null) { |
|
|
@ -42,6 +47,13 @@ class _$DynamiteConfigSerializer implements StructuredSerializer<DynamiteConfig> |
|
|
|
..add('pageWidth') |
|
|
|
..add('pageWidth') |
|
|
|
..add(serializers.serialize(value, specifiedType: const FullType(int))); |
|
|
|
..add(serializers.serialize(value, specifiedType: const FullType(int))); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
value = object.overrides; |
|
|
|
|
|
|
|
if (value != null) { |
|
|
|
|
|
|
|
result |
|
|
|
|
|
|
|
..add('overrides') |
|
|
|
|
|
|
|
..add(serializers.serialize(value, |
|
|
|
|
|
|
|
specifiedType: const FullType(BuiltMap, [FullType(String), FullType(DynamiteConfig)]))); |
|
|
|
|
|
|
|
} |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -67,6 +79,13 @@ class _$DynamiteConfigSerializer implements StructuredSerializer<DynamiteConfig> |
|
|
|
case 'pageWidth': |
|
|
|
case 'pageWidth': |
|
|
|
result.pageWidth = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; |
|
|
|
result.pageWidth = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 'overrides': |
|
|
|
|
|
|
|
result.overrides.replace(serializers.deserialize(value, |
|
|
|
|
|
|
|
specifiedType: const FullType(BuiltMap, [FullType(String), FullType(DynamiteConfig)]))!); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case 'applyOptimizations': |
|
|
|
|
|
|
|
result.applyOptimizations = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -81,11 +100,19 @@ class _$DynamiteConfig extends DynamiteConfig { |
|
|
|
final BuiltSet<String>? coverageIgnores; |
|
|
|
final BuiltSet<String>? coverageIgnores; |
|
|
|
@override |
|
|
|
@override |
|
|
|
final int? pageWidth; |
|
|
|
final int? pageWidth; |
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
final BuiltMap<String, DynamiteConfig>? overrides; |
|
|
|
|
|
|
|
@override |
|
|
|
|
|
|
|
final bool applyOptimizations; |
|
|
|
|
|
|
|
|
|
|
|
factory _$DynamiteConfig([void Function(DynamiteConfigBuilder)? updates]) => |
|
|
|
factory _$DynamiteConfig([void Function(DynamiteConfigBuilder)? updates]) => |
|
|
|
(DynamiteConfigBuilder()..update(updates))._build(); |
|
|
|
(DynamiteConfigBuilder()..update(updates))._build(); |
|
|
|
|
|
|
|
|
|
|
|
_$DynamiteConfig._({this.analyzerIgnores, this.coverageIgnores, this.pageWidth}) : super._(); |
|
|
|
_$DynamiteConfig._( |
|
|
|
|
|
|
|
{this.analyzerIgnores, this.coverageIgnores, this.pageWidth, this.overrides, required this.applyOptimizations}) |
|
|
|
|
|
|
|
: super._() { |
|
|
|
|
|
|
|
BuiltValueNullFieldError.checkNotNull(applyOptimizations, r'DynamiteConfig', 'applyOptimizations'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
DynamiteConfig rebuild(void Function(DynamiteConfigBuilder) updates) => (toBuilder()..update(updates)).build(); |
|
|
|
DynamiteConfig rebuild(void Function(DynamiteConfigBuilder) updates) => (toBuilder()..update(updates)).build(); |
|
|
@ -99,7 +126,9 @@ class _$DynamiteConfig extends DynamiteConfig { |
|
|
|
return other is DynamiteConfig && |
|
|
|
return other is DynamiteConfig && |
|
|
|
analyzerIgnores == other.analyzerIgnores && |
|
|
|
analyzerIgnores == other.analyzerIgnores && |
|
|
|
coverageIgnores == other.coverageIgnores && |
|
|
|
coverageIgnores == other.coverageIgnores && |
|
|
|
pageWidth == other.pageWidth; |
|
|
|
pageWidth == other.pageWidth && |
|
|
|
|
|
|
|
overrides == other.overrides && |
|
|
|
|
|
|
|
applyOptimizations == other.applyOptimizations; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
@ -108,6 +137,8 @@ class _$DynamiteConfig extends DynamiteConfig { |
|
|
|
_$hash = $jc(_$hash, analyzerIgnores.hashCode); |
|
|
|
_$hash = $jc(_$hash, analyzerIgnores.hashCode); |
|
|
|
_$hash = $jc(_$hash, coverageIgnores.hashCode); |
|
|
|
_$hash = $jc(_$hash, coverageIgnores.hashCode); |
|
|
|
_$hash = $jc(_$hash, pageWidth.hashCode); |
|
|
|
_$hash = $jc(_$hash, pageWidth.hashCode); |
|
|
|
|
|
|
|
_$hash = $jc(_$hash, overrides.hashCode); |
|
|
|
|
|
|
|
_$hash = $jc(_$hash, applyOptimizations.hashCode); |
|
|
|
_$hash = $jf(_$hash); |
|
|
|
_$hash = $jf(_$hash); |
|
|
|
return _$hash; |
|
|
|
return _$hash; |
|
|
|
} |
|
|
|
} |
|
|
@ -117,7 +148,9 @@ class _$DynamiteConfig extends DynamiteConfig { |
|
|
|
return (newBuiltValueToStringHelper(r'DynamiteConfig') |
|
|
|
return (newBuiltValueToStringHelper(r'DynamiteConfig') |
|
|
|
..add('analyzerIgnores', analyzerIgnores) |
|
|
|
..add('analyzerIgnores', analyzerIgnores) |
|
|
|
..add('coverageIgnores', coverageIgnores) |
|
|
|
..add('coverageIgnores', coverageIgnores) |
|
|
|
..add('pageWidth', pageWidth)) |
|
|
|
..add('pageWidth', pageWidth) |
|
|
|
|
|
|
|
..add('overrides', overrides) |
|
|
|
|
|
|
|
..add('applyOptimizations', applyOptimizations)) |
|
|
|
.toString(); |
|
|
|
.toString(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -137,7 +170,17 @@ class DynamiteConfigBuilder implements Builder<DynamiteConfig, DynamiteConfigBui |
|
|
|
int? get pageWidth => _$this._pageWidth; |
|
|
|
int? get pageWidth => _$this._pageWidth; |
|
|
|
set pageWidth(int? pageWidth) => _$this._pageWidth = pageWidth; |
|
|
|
set pageWidth(int? pageWidth) => _$this._pageWidth = pageWidth; |
|
|
|
|
|
|
|
|
|
|
|
DynamiteConfigBuilder(); |
|
|
|
MapBuilder<String, DynamiteConfig>? _overrides; |
|
|
|
|
|
|
|
MapBuilder<String, DynamiteConfig> get overrides => _$this._overrides ??= MapBuilder<String, DynamiteConfig>(); |
|
|
|
|
|
|
|
set overrides(MapBuilder<String, DynamiteConfig>? overrides) => _$this._overrides = overrides; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool? _applyOptimizations; |
|
|
|
|
|
|
|
bool? get applyOptimizations => _$this._applyOptimizations; |
|
|
|
|
|
|
|
set applyOptimizations(bool? applyOptimizations) => _$this._applyOptimizations = applyOptimizations; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DynamiteConfigBuilder() { |
|
|
|
|
|
|
|
DynamiteConfig._defaults(this); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
DynamiteConfigBuilder get _$this { |
|
|
|
DynamiteConfigBuilder get _$this { |
|
|
|
final $v = _$v; |
|
|
|
final $v = _$v; |
|
|
@ -145,6 +188,8 @@ class DynamiteConfigBuilder implements Builder<DynamiteConfig, DynamiteConfigBui |
|
|
|
_analyzerIgnores = $v.analyzerIgnores?.toBuilder(); |
|
|
|
_analyzerIgnores = $v.analyzerIgnores?.toBuilder(); |
|
|
|
_coverageIgnores = $v.coverageIgnores?.toBuilder(); |
|
|
|
_coverageIgnores = $v.coverageIgnores?.toBuilder(); |
|
|
|
_pageWidth = $v.pageWidth; |
|
|
|
_pageWidth = $v.pageWidth; |
|
|
|
|
|
|
|
_overrides = $v.overrides?.toBuilder(); |
|
|
|
|
|
|
|
_applyOptimizations = $v.applyOptimizations; |
|
|
|
_$v = null; |
|
|
|
_$v = null; |
|
|
|
} |
|
|
|
} |
|
|
|
return this; |
|
|
|
return this; |
|
|
@ -171,7 +216,10 @@ class DynamiteConfigBuilder implements Builder<DynamiteConfig, DynamiteConfigBui |
|
|
|
_$DynamiteConfig._( |
|
|
|
_$DynamiteConfig._( |
|
|
|
analyzerIgnores: _analyzerIgnores?.build(), |
|
|
|
analyzerIgnores: _analyzerIgnores?.build(), |
|
|
|
coverageIgnores: _coverageIgnores?.build(), |
|
|
|
coverageIgnores: _coverageIgnores?.build(), |
|
|
|
pageWidth: pageWidth); |
|
|
|
pageWidth: pageWidth, |
|
|
|
|
|
|
|
overrides: _overrides?.build(), |
|
|
|
|
|
|
|
applyOptimizations: |
|
|
|
|
|
|
|
BuiltValueNullFieldError.checkNotNull(applyOptimizations, r'DynamiteConfig', 'applyOptimizations')); |
|
|
|
} catch (_) { |
|
|
|
} catch (_) { |
|
|
|
late String _$failedField; |
|
|
|
late String _$failedField; |
|
|
|
try { |
|
|
|
try { |
|
|
@ -179,6 +227,9 @@ class DynamiteConfigBuilder implements Builder<DynamiteConfig, DynamiteConfigBui |
|
|
|
_analyzerIgnores?.build(); |
|
|
|
_analyzerIgnores?.build(); |
|
|
|
_$failedField = 'coverageIgnores'; |
|
|
|
_$failedField = 'coverageIgnores'; |
|
|
|
_coverageIgnores?.build(); |
|
|
|
_coverageIgnores?.build(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_$failedField = 'overrides'; |
|
|
|
|
|
|
|
_overrides?.build(); |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
throw BuiltValueNestedFieldError(r'DynamiteConfig', _$failedField, e.toString()); |
|
|
|
throw BuiltValueNestedFieldError(r'DynamiteConfig', _$failedField, e.toString()); |
|
|
|
} |
|
|
|
} |
|
|
|