piped_dart/lib/model/exception_error.g.dart
2022-10-10 10:50:22 +01:00

108 lines
3.2 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
// @dart=2.7
part of 'exception_error.dart';
// **************************************************************************
// BuiltValueGenerator
// **************************************************************************
class _$ExceptionError extends ExceptionError {
@override
final String error;
@override
final String message;
factory _$ExceptionError([void Function(ExceptionErrorBuilder) updates]) =>
(new ExceptionErrorBuilder()..update(updates))._build();
_$ExceptionError._({this.error, this.message}) : super._() {
BuiltValueNullFieldError.checkNotNull(error, r'ExceptionError', 'error');
BuiltValueNullFieldError.checkNotNull(
message, r'ExceptionError', 'message');
}
@override
ExceptionError rebuild(void Function(ExceptionErrorBuilder) updates) =>
(toBuilder()..update(updates)).build();
@override
ExceptionErrorBuilder toBuilder() =>
new ExceptionErrorBuilder()..replace(this);
@override
bool operator ==(Object other) {
if (identical(other, this)) return true;
return other is ExceptionError &&
error == other.error &&
message == other.message;
}
@override
int get hashCode {
return $jf($jc($jc(0, error.hashCode), message.hashCode));
}
@override
String toString() {
return (newBuiltValueToStringHelper(r'ExceptionError')
..add('error', error)
..add('message', message))
.toString();
}
}
class ExceptionErrorBuilder
implements Builder<ExceptionError, ExceptionErrorBuilder> {
_$ExceptionError _$v;
String _error;
String get error => _$this._error;
set error(String error) => _$this._error = error;
String _message;
String get message => _$this._message;
set message(String message) => _$this._message = message;
ExceptionErrorBuilder() {
ExceptionError._initializeBuilder(this);
}
ExceptionErrorBuilder get _$this {
final $v = _$v;
if ($v != null) {
_error = $v.error;
_message = $v.message;
_$v = null;
}
return this;
}
@override
void replace(ExceptionError other) {
ArgumentError.checkNotNull(other, 'other');
_$v = other as _$ExceptionError;
}
@override
void update(void Function(ExceptionErrorBuilder) updates) {
if (updates != null) updates(this);
}
@override
ExceptionError build() => _build();
_$ExceptionError _build() {
final _$result = _$v ??
new _$ExceptionError._(
error: BuiltValueNullFieldError.checkNotNull(
error, r'ExceptionError', 'error'),
message: BuiltValueNullFieldError.checkNotNull(
message, r'ExceptionError', 'message'));
replace(_$result);
return _$result;
}
}
// ignore_for_file: always_put_control_body_on_new_line,always_specify_types,annotate_overrides,avoid_annotating_with_dynamic,avoid_as,avoid_catches_without_on_clauses,avoid_returning_this,deprecated_member_use_from_same_package,lines_longer_than_80_chars,no_leading_underscores_for_local_identifiers,omit_local_variable_types,prefer_expression_function_bodies,sort_constructors_first,test_types_in_equals,unnecessary_const,unnecessary_new,unnecessary_lambdas