// GENERATED CODE - DO NOT MODIFY BY HAND part of 'company_gateway_model.dart'; // ************************************************************************** // BuiltValueGenerator // ************************************************************************** Serializer _$companyGatewayListResponseSerializer = new _$CompanyGatewayListResponseSerializer(); Serializer _$companyGatewayItemResponseSerializer = new _$CompanyGatewayItemResponseSerializer(); Serializer _$companyGatewayEntitySerializer = new _$CompanyGatewayEntitySerializer(); Serializer _$feesAndLimitsSettingsSerializer = new _$FeesAndLimitsSettingsSerializer(); class _$CompanyGatewayListResponseSerializer implements StructuredSerializer { @override final Iterable types = const [ CompanyGatewayListResponse, _$CompanyGatewayListResponse ]; @override final String wireName = 'CompanyGatewayListResponse'; @override Iterable serialize( Serializers serializers, CompanyGatewayListResponse object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'data', serializers.serialize(object.data, specifiedType: const FullType( BuiltList, const [const FullType(CompanyGatewayEntity)])), ]; return result; } @override CompanyGatewayListResponse deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new CompanyGatewayListResponseBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { final key = iterator.current! as String; iterator.moveNext(); final Object? value = iterator.current; switch (key) { case 'data': result.data.replace(serializers.deserialize(value, specifiedType: const FullType( BuiltList, const [const FullType(CompanyGatewayEntity)]))! as BuiltList); break; } } return result.build(); } } class _$CompanyGatewayItemResponseSerializer implements StructuredSerializer { @override final Iterable types = const [ CompanyGatewayItemResponse, _$CompanyGatewayItemResponse ]; @override final String wireName = 'CompanyGatewayItemResponse'; @override Iterable serialize( Serializers serializers, CompanyGatewayItemResponse object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'data', serializers.serialize(object.data, specifiedType: const FullType(CompanyGatewayEntity)), ]; return result; } @override CompanyGatewayItemResponse deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new CompanyGatewayItemResponseBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { final key = iterator.current! as String; iterator.moveNext(); final Object? value = iterator.current; switch (key) { case 'data': result.data.replace(serializers.deserialize(value, specifiedType: const FullType(CompanyGatewayEntity))! as CompanyGatewayEntity); break; } } return result.build(); } } class _$CompanyGatewayEntitySerializer implements StructuredSerializer { @override final Iterable types = const [ CompanyGatewayEntity, _$CompanyGatewayEntity ]; @override final String wireName = 'CompanyGatewayEntity'; @override Iterable serialize( Serializers serializers, CompanyGatewayEntity object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'gateway_key', serializers.serialize(object.gatewayId, specifiedType: const FullType(String)), 'accepted_credit_cards', serializers.serialize(object.acceptedCreditCards, specifiedType: const FullType(int)), 'require_shipping_address', serializers.serialize(object.requireShippingAddress, specifiedType: const FullType(bool)), 'require_billing_address', serializers.serialize(object.requireBillingAddress, specifiedType: const FullType(bool)), 'require_client_name', serializers.serialize(object.requireClientName, specifiedType: const FullType(bool)), 'require_client_phone', serializers.serialize(object.requireClientPhone, specifiedType: const FullType(bool)), 'require_contact_name', serializers.serialize(object.requireContactName, specifiedType: const FullType(bool)), 'require_contact_email', serializers.serialize(object.requireContactEmail, specifiedType: const FullType(bool)), 'require_custom_value1', serializers.serialize(object.requireCustomValue1, specifiedType: const FullType(bool)), 'require_custom_value2', serializers.serialize(object.requireCustomValue2, specifiedType: const FullType(bool)), 'require_custom_value3', serializers.serialize(object.requireCustomValue3, specifiedType: const FullType(bool)), 'require_custom_value4', serializers.serialize(object.requireCustomValue4, specifiedType: const FullType(bool)), 'require_cvv', serializers.serialize(object.requireCvv, specifiedType: const FullType(bool)), 'update_details', serializers.serialize(object.updateDetails, specifiedType: const FullType(bool)), 'fees_and_limits', serializers.serialize(object.feesAndLimitsMap, specifiedType: const FullType(BuiltMap, const [ const FullType.nullable(String), const FullType(FeesAndLimitsSettings) ])), 'system_logs', serializers.serialize(object.systemLogs, specifiedType: const FullType( BuiltList, const [const FullType(SystemLogEntity)])), 'custom_value1', serializers.serialize(object.customValue1, specifiedType: const FullType(String)), 'custom_value2', serializers.serialize(object.customValue2, specifiedType: const FullType(String)), 'custom_value3', serializers.serialize(object.customValue3, specifiedType: const FullType(String)), 'custom_value4', serializers.serialize(object.customValue4, specifiedType: const FullType(String)), 'config', serializers.serialize(object.config, specifiedType: const FullType(String)), 'token_billing', serializers.serialize(object.tokenBilling, specifiedType: const FullType(String)), 'test_mode', serializers.serialize(object.isTestMode, specifiedType: const FullType(bool)), 'label', serializers.serialize(object.label, specifiedType: const FullType(String)), 'created_at', serializers.serialize(object.createdAt, specifiedType: const FullType(int)), 'updated_at', serializers.serialize(object.updatedAt, specifiedType: const FullType(int)), 'archived_at', serializers.serialize(object.archivedAt, specifiedType: const FullType(int)), 'id', serializers.serialize(object.id, specifiedType: const FullType(String)), ]; Object? value; value = object.loadedAt; if (value != null) { result ..add('loadedAt') ..add(serializers.serialize(value, specifiedType: const FullType(int))); } value = object.requirePostalCode; if (value != null) { result ..add('require_postal_code') ..add( serializers.serialize(value, specifiedType: const FullType(bool))); } value = object.isChanged; if (value != null) { result ..add('isChanged') ..add( serializers.serialize(value, specifiedType: const FullType(bool))); } value = object.isDeleted; if (value != null) { result ..add('is_deleted') ..add( serializers.serialize(value, specifiedType: const FullType(bool))); } value = object.createdUserId; if (value != null) { result ..add('user_id') ..add(serializers.serialize(value, specifiedType: const FullType(String))); } value = object.assignedUserId; if (value != null) { result ..add('assigned_user_id') ..add(serializers.serialize(value, specifiedType: const FullType(String))); } return result; } @override CompanyGatewayEntity deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new CompanyGatewayEntityBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { final key = iterator.current! as String; iterator.moveNext(); final Object? value = iterator.current; switch (key) { case 'loadedAt': result.loadedAt = serializers.deserialize(value, specifiedType: const FullType(int)) as int?; break; case 'gateway_key': result.gatewayId = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'accepted_credit_cards': result.acceptedCreditCards = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; case 'require_shipping_address': result.requireShippingAddress = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_billing_address': result.requireBillingAddress = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_client_name': result.requireClientName = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_postal_code': result.requirePostalCode = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; case 'require_client_phone': result.requireClientPhone = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_contact_name': result.requireContactName = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_contact_email': result.requireContactEmail = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_custom_value1': result.requireCustomValue1 = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_custom_value2': result.requireCustomValue2 = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_custom_value3': result.requireCustomValue3 = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_custom_value4': result.requireCustomValue4 = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'require_cvv': result.requireCvv = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'update_details': result.updateDetails = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'fees_and_limits': result.feesAndLimitsMap.replace(serializers.deserialize(value, specifiedType: const FullType(BuiltMap, const [ const FullType.nullable(String), const FullType(FeesAndLimitsSettings) ]))!); break; case 'system_logs': result.systemLogs.replace(serializers.deserialize(value, specifiedType: const FullType( BuiltList, const [const FullType(SystemLogEntity)]))! as BuiltList); break; case 'custom_value1': result.customValue1 = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'custom_value2': result.customValue2 = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'custom_value3': result.customValue3 = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'custom_value4': result.customValue4 = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'config': result.config = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'token_billing': result.tokenBilling = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'test_mode': result.isTestMode = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'label': result.label = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'isChanged': result.isChanged = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; case 'created_at': result.createdAt = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; case 'updated_at': result.updatedAt = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; case 'archived_at': result.archivedAt = serializers.deserialize(value, specifiedType: const FullType(int))! as int; break; case 'is_deleted': result.isDeleted = serializers.deserialize(value, specifiedType: const FullType(bool)) as bool?; break; case 'user_id': result.createdUserId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; case 'assigned_user_id': result.assignedUserId = serializers.deserialize(value, specifiedType: const FullType(String)) as String?; break; case 'id': result.id = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; } } return result.build(); } } class _$FeesAndLimitsSettingsSerializer implements StructuredSerializer { @override final Iterable types = const [ FeesAndLimitsSettings, _$FeesAndLimitsSettings ]; @override final String wireName = 'FeesAndLimitsSettings'; @override Iterable serialize( Serializers serializers, FeesAndLimitsSettings object, {FullType specifiedType = FullType.unspecified}) { final result = [ 'min_limit', serializers.serialize(object.minLimit, specifiedType: const FullType(double)), 'max_limit', serializers.serialize(object.maxLimit, specifiedType: const FullType(double)), 'fee_amount', serializers.serialize(object.feeAmount, specifiedType: const FullType(double)), 'fee_percent', serializers.serialize(object.feePercent, specifiedType: const FullType(double)), 'fee_cap', serializers.serialize(object.feeCap, specifiedType: const FullType(double)), 'fee_tax_rate1', serializers.serialize(object.taxRate1, specifiedType: const FullType(double)), 'fee_tax_name1', serializers.serialize(object.taxName1, specifiedType: const FullType(String)), 'fee_tax_rate2', serializers.serialize(object.taxRate2, specifiedType: const FullType(double)), 'fee_tax_name2', serializers.serialize(object.taxName2, specifiedType: const FullType(String)), 'fee_tax_rate3', serializers.serialize(object.taxRate3, specifiedType: const FullType(double)), 'fee_tax_name3', serializers.serialize(object.taxName3, specifiedType: const FullType(String)), 'adjust_fee_percent', serializers.serialize(object.adjustFeePercent, specifiedType: const FullType(bool)), 'is_enabled', serializers.serialize(object.isEnabled, specifiedType: const FullType(bool)), ]; return result; } @override FeesAndLimitsSettings deserialize( Serializers serializers, Iterable serialized, {FullType specifiedType = FullType.unspecified}) { final result = new FeesAndLimitsSettingsBuilder(); final iterator = serialized.iterator; while (iterator.moveNext()) { final key = iterator.current! as String; iterator.moveNext(); final Object? value = iterator.current; switch (key) { case 'min_limit': result.minLimit = serializers.deserialize(value, specifiedType: const FullType(double))! as double; break; case 'max_limit': result.maxLimit = serializers.deserialize(value, specifiedType: const FullType(double))! as double; break; case 'fee_amount': result.feeAmount = serializers.deserialize(value, specifiedType: const FullType(double))! as double; break; case 'fee_percent': result.feePercent = serializers.deserialize(value, specifiedType: const FullType(double))! as double; break; case 'fee_cap': result.feeCap = serializers.deserialize(value, specifiedType: const FullType(double))! as double; break; case 'fee_tax_rate1': result.taxRate1 = serializers.deserialize(value, specifiedType: const FullType(double))! as double; break; case 'fee_tax_name1': result.taxName1 = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'fee_tax_rate2': result.taxRate2 = serializers.deserialize(value, specifiedType: const FullType(double))! as double; break; case 'fee_tax_name2': result.taxName2 = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'fee_tax_rate3': result.taxRate3 = serializers.deserialize(value, specifiedType: const FullType(double))! as double; break; case 'fee_tax_name3': result.taxName3 = serializers.deserialize(value, specifiedType: const FullType(String))! as String; break; case 'adjust_fee_percent': result.adjustFeePercent = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; case 'is_enabled': result.isEnabled = serializers.deserialize(value, specifiedType: const FullType(bool))! as bool; break; } } return result.build(); } } class _$CompanyGatewayListResponse extends CompanyGatewayListResponse { @override final BuiltList data; factory _$CompanyGatewayListResponse( [void Function(CompanyGatewayListResponseBuilder)? updates]) => (new CompanyGatewayListResponseBuilder()..update(updates))._build(); _$CompanyGatewayListResponse._({required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( data, r'CompanyGatewayListResponse', 'data'); } @override CompanyGatewayListResponse rebuild( void Function(CompanyGatewayListResponseBuilder) updates) => (toBuilder()..update(updates)).build(); @override CompanyGatewayListResponseBuilder toBuilder() => new CompanyGatewayListResponseBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; return other is CompanyGatewayListResponse && data == other.data; } int? __hashCode; @override int get hashCode { if (__hashCode != null) return __hashCode!; var _$hash = 0; _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return __hashCode ??= _$hash; } @override String toString() { return (newBuiltValueToStringHelper(r'CompanyGatewayListResponse') ..add('data', data)) .toString(); } } class CompanyGatewayListResponseBuilder implements Builder { _$CompanyGatewayListResponse? _$v; ListBuilder? _data; ListBuilder get data => _$this._data ??= new ListBuilder(); set data(ListBuilder? data) => _$this._data = data; CompanyGatewayListResponseBuilder(); CompanyGatewayListResponseBuilder get _$this { final $v = _$v; if ($v != null) { _data = $v.data.toBuilder(); _$v = null; } return this; } @override void replace(CompanyGatewayListResponse other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$CompanyGatewayListResponse; } @override void update(void Function(CompanyGatewayListResponseBuilder)? updates) { if (updates != null) updates(this); } @override CompanyGatewayListResponse build() => _build(); _$CompanyGatewayListResponse _build() { _$CompanyGatewayListResponse _$result; try { _$result = _$v ?? new _$CompanyGatewayListResponse._(data: data.build()); } catch (_) { late String _$failedField; try { _$failedField = 'data'; data.build(); } catch (e) { throw new BuiltValueNestedFieldError( r'CompanyGatewayListResponse', _$failedField, e.toString()); } rethrow; } replace(_$result); return _$result; } } class _$CompanyGatewayItemResponse extends CompanyGatewayItemResponse { @override final CompanyGatewayEntity data; factory _$CompanyGatewayItemResponse( [void Function(CompanyGatewayItemResponseBuilder)? updates]) => (new CompanyGatewayItemResponseBuilder()..update(updates))._build(); _$CompanyGatewayItemResponse._({required this.data}) : super._() { BuiltValueNullFieldError.checkNotNull( data, r'CompanyGatewayItemResponse', 'data'); } @override CompanyGatewayItemResponse rebuild( void Function(CompanyGatewayItemResponseBuilder) updates) => (toBuilder()..update(updates)).build(); @override CompanyGatewayItemResponseBuilder toBuilder() => new CompanyGatewayItemResponseBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; return other is CompanyGatewayItemResponse && data == other.data; } int? __hashCode; @override int get hashCode { if (__hashCode != null) return __hashCode!; var _$hash = 0; _$hash = $jc(_$hash, data.hashCode); _$hash = $jf(_$hash); return __hashCode ??= _$hash; } @override String toString() { return (newBuiltValueToStringHelper(r'CompanyGatewayItemResponse') ..add('data', data)) .toString(); } } class CompanyGatewayItemResponseBuilder implements Builder { _$CompanyGatewayItemResponse? _$v; CompanyGatewayEntityBuilder? _data; CompanyGatewayEntityBuilder get data => _$this._data ??= new CompanyGatewayEntityBuilder(); set data(CompanyGatewayEntityBuilder? data) => _$this._data = data; CompanyGatewayItemResponseBuilder(); CompanyGatewayItemResponseBuilder get _$this { final $v = _$v; if ($v != null) { _data = $v.data.toBuilder(); _$v = null; } return this; } @override void replace(CompanyGatewayItemResponse other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$CompanyGatewayItemResponse; } @override void update(void Function(CompanyGatewayItemResponseBuilder)? updates) { if (updates != null) updates(this); } @override CompanyGatewayItemResponse build() => _build(); _$CompanyGatewayItemResponse _build() { _$CompanyGatewayItemResponse _$result; try { _$result = _$v ?? new _$CompanyGatewayItemResponse._(data: data.build()); } catch (_) { late String _$failedField; try { _$failedField = 'data'; data.build(); } catch (e) { throw new BuiltValueNestedFieldError( r'CompanyGatewayItemResponse', _$failedField, e.toString()); } rethrow; } replace(_$result); return _$result; } } class _$CompanyGatewayEntity extends CompanyGatewayEntity { @override final int? loadedAt; @override final String gatewayId; @override final int acceptedCreditCards; @override final bool requireShippingAddress; @override final bool requireBillingAddress; @override final bool requireClientName; @override final bool? requirePostalCode; @override final bool requireClientPhone; @override final bool requireContactName; @override final bool requireContactEmail; @override final bool requireCustomValue1; @override final bool requireCustomValue2; @override final bool requireCustomValue3; @override final bool requireCustomValue4; @override final bool requireCvv; @override final bool updateDetails; @override final BuiltMap feesAndLimitsMap; @override final BuiltList systemLogs; @override final String customValue1; @override final String customValue2; @override final String customValue3; @override final String customValue4; @override final String config; @override final String tokenBilling; @override final bool isTestMode; @override final String label; @override final bool? isChanged; @override final int createdAt; @override final int updatedAt; @override final int archivedAt; @override final bool? isDeleted; @override final String? createdUserId; @override final String? assignedUserId; @override final String id; factory _$CompanyGatewayEntity( [void Function(CompanyGatewayEntityBuilder)? updates]) => (new CompanyGatewayEntityBuilder()..update(updates))._build(); _$CompanyGatewayEntity._( {this.loadedAt, required this.gatewayId, required this.acceptedCreditCards, required this.requireShippingAddress, required this.requireBillingAddress, required this.requireClientName, this.requirePostalCode, required this.requireClientPhone, required this.requireContactName, required this.requireContactEmail, required this.requireCustomValue1, required this.requireCustomValue2, required this.requireCustomValue3, required this.requireCustomValue4, required this.requireCvv, required this.updateDetails, required this.feesAndLimitsMap, required this.systemLogs, required this.customValue1, required this.customValue2, required this.customValue3, required this.customValue4, required this.config, required this.tokenBilling, required this.isTestMode, required this.label, this.isChanged, required this.createdAt, required this.updatedAt, required this.archivedAt, this.isDeleted, this.createdUserId, this.assignedUserId, required this.id}) : super._() { BuiltValueNullFieldError.checkNotNull( gatewayId, r'CompanyGatewayEntity', 'gatewayId'); BuiltValueNullFieldError.checkNotNull( acceptedCreditCards, r'CompanyGatewayEntity', 'acceptedCreditCards'); BuiltValueNullFieldError.checkNotNull(requireShippingAddress, r'CompanyGatewayEntity', 'requireShippingAddress'); BuiltValueNullFieldError.checkNotNull(requireBillingAddress, r'CompanyGatewayEntity', 'requireBillingAddress'); BuiltValueNullFieldError.checkNotNull( requireClientName, r'CompanyGatewayEntity', 'requireClientName'); BuiltValueNullFieldError.checkNotNull( requireClientPhone, r'CompanyGatewayEntity', 'requireClientPhone'); BuiltValueNullFieldError.checkNotNull( requireContactName, r'CompanyGatewayEntity', 'requireContactName'); BuiltValueNullFieldError.checkNotNull( requireContactEmail, r'CompanyGatewayEntity', 'requireContactEmail'); BuiltValueNullFieldError.checkNotNull( requireCustomValue1, r'CompanyGatewayEntity', 'requireCustomValue1'); BuiltValueNullFieldError.checkNotNull( requireCustomValue2, r'CompanyGatewayEntity', 'requireCustomValue2'); BuiltValueNullFieldError.checkNotNull( requireCustomValue3, r'CompanyGatewayEntity', 'requireCustomValue3'); BuiltValueNullFieldError.checkNotNull( requireCustomValue4, r'CompanyGatewayEntity', 'requireCustomValue4'); BuiltValueNullFieldError.checkNotNull( requireCvv, r'CompanyGatewayEntity', 'requireCvv'); BuiltValueNullFieldError.checkNotNull( updateDetails, r'CompanyGatewayEntity', 'updateDetails'); BuiltValueNullFieldError.checkNotNull( feesAndLimitsMap, r'CompanyGatewayEntity', 'feesAndLimitsMap'); BuiltValueNullFieldError.checkNotNull( systemLogs, r'CompanyGatewayEntity', 'systemLogs'); BuiltValueNullFieldError.checkNotNull( customValue1, r'CompanyGatewayEntity', 'customValue1'); BuiltValueNullFieldError.checkNotNull( customValue2, r'CompanyGatewayEntity', 'customValue2'); BuiltValueNullFieldError.checkNotNull( customValue3, r'CompanyGatewayEntity', 'customValue3'); BuiltValueNullFieldError.checkNotNull( customValue4, r'CompanyGatewayEntity', 'customValue4'); BuiltValueNullFieldError.checkNotNull( config, r'CompanyGatewayEntity', 'config'); BuiltValueNullFieldError.checkNotNull( tokenBilling, r'CompanyGatewayEntity', 'tokenBilling'); BuiltValueNullFieldError.checkNotNull( isTestMode, r'CompanyGatewayEntity', 'isTestMode'); BuiltValueNullFieldError.checkNotNull( label, r'CompanyGatewayEntity', 'label'); BuiltValueNullFieldError.checkNotNull( createdAt, r'CompanyGatewayEntity', 'createdAt'); BuiltValueNullFieldError.checkNotNull( updatedAt, r'CompanyGatewayEntity', 'updatedAt'); BuiltValueNullFieldError.checkNotNull( archivedAt, r'CompanyGatewayEntity', 'archivedAt'); BuiltValueNullFieldError.checkNotNull(id, r'CompanyGatewayEntity', 'id'); } @override CompanyGatewayEntity rebuild( void Function(CompanyGatewayEntityBuilder) updates) => (toBuilder()..update(updates)).build(); @override CompanyGatewayEntityBuilder toBuilder() => new CompanyGatewayEntityBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; return other is CompanyGatewayEntity && gatewayId == other.gatewayId && acceptedCreditCards == other.acceptedCreditCards && requireShippingAddress == other.requireShippingAddress && requireBillingAddress == other.requireBillingAddress && requireClientName == other.requireClientName && requirePostalCode == other.requirePostalCode && requireClientPhone == other.requireClientPhone && requireContactName == other.requireContactName && requireContactEmail == other.requireContactEmail && requireCustomValue1 == other.requireCustomValue1 && requireCustomValue2 == other.requireCustomValue2 && requireCustomValue3 == other.requireCustomValue3 && requireCustomValue4 == other.requireCustomValue4 && requireCvv == other.requireCvv && updateDetails == other.updateDetails && feesAndLimitsMap == other.feesAndLimitsMap && systemLogs == other.systemLogs && customValue1 == other.customValue1 && customValue2 == other.customValue2 && customValue3 == other.customValue3 && customValue4 == other.customValue4 && config == other.config && tokenBilling == other.tokenBilling && isTestMode == other.isTestMode && label == other.label && isChanged == other.isChanged && createdAt == other.createdAt && updatedAt == other.updatedAt && archivedAt == other.archivedAt && isDeleted == other.isDeleted && createdUserId == other.createdUserId && assignedUserId == other.assignedUserId && id == other.id; } int? __hashCode; @override int get hashCode { if (__hashCode != null) return __hashCode!; var _$hash = 0; _$hash = $jc(_$hash, gatewayId.hashCode); _$hash = $jc(_$hash, acceptedCreditCards.hashCode); _$hash = $jc(_$hash, requireShippingAddress.hashCode); _$hash = $jc(_$hash, requireBillingAddress.hashCode); _$hash = $jc(_$hash, requireClientName.hashCode); _$hash = $jc(_$hash, requirePostalCode.hashCode); _$hash = $jc(_$hash, requireClientPhone.hashCode); _$hash = $jc(_$hash, requireContactName.hashCode); _$hash = $jc(_$hash, requireContactEmail.hashCode); _$hash = $jc(_$hash, requireCustomValue1.hashCode); _$hash = $jc(_$hash, requireCustomValue2.hashCode); _$hash = $jc(_$hash, requireCustomValue3.hashCode); _$hash = $jc(_$hash, requireCustomValue4.hashCode); _$hash = $jc(_$hash, requireCvv.hashCode); _$hash = $jc(_$hash, updateDetails.hashCode); _$hash = $jc(_$hash, feesAndLimitsMap.hashCode); _$hash = $jc(_$hash, systemLogs.hashCode); _$hash = $jc(_$hash, customValue1.hashCode); _$hash = $jc(_$hash, customValue2.hashCode); _$hash = $jc(_$hash, customValue3.hashCode); _$hash = $jc(_$hash, customValue4.hashCode); _$hash = $jc(_$hash, config.hashCode); _$hash = $jc(_$hash, tokenBilling.hashCode); _$hash = $jc(_$hash, isTestMode.hashCode); _$hash = $jc(_$hash, label.hashCode); _$hash = $jc(_$hash, isChanged.hashCode); _$hash = $jc(_$hash, createdAt.hashCode); _$hash = $jc(_$hash, updatedAt.hashCode); _$hash = $jc(_$hash, archivedAt.hashCode); _$hash = $jc(_$hash, isDeleted.hashCode); _$hash = $jc(_$hash, createdUserId.hashCode); _$hash = $jc(_$hash, assignedUserId.hashCode); _$hash = $jc(_$hash, id.hashCode); _$hash = $jf(_$hash); return __hashCode ??= _$hash; } @override String toString() { return (newBuiltValueToStringHelper(r'CompanyGatewayEntity') ..add('loadedAt', loadedAt) ..add('gatewayId', gatewayId) ..add('acceptedCreditCards', acceptedCreditCards) ..add('requireShippingAddress', requireShippingAddress) ..add('requireBillingAddress', requireBillingAddress) ..add('requireClientName', requireClientName) ..add('requirePostalCode', requirePostalCode) ..add('requireClientPhone', requireClientPhone) ..add('requireContactName', requireContactName) ..add('requireContactEmail', requireContactEmail) ..add('requireCustomValue1', requireCustomValue1) ..add('requireCustomValue2', requireCustomValue2) ..add('requireCustomValue3', requireCustomValue3) ..add('requireCustomValue4', requireCustomValue4) ..add('requireCvv', requireCvv) ..add('updateDetails', updateDetails) ..add('feesAndLimitsMap', feesAndLimitsMap) ..add('systemLogs', systemLogs) ..add('customValue1', customValue1) ..add('customValue2', customValue2) ..add('customValue3', customValue3) ..add('customValue4', customValue4) ..add('config', config) ..add('tokenBilling', tokenBilling) ..add('isTestMode', isTestMode) ..add('label', label) ..add('isChanged', isChanged) ..add('createdAt', createdAt) ..add('updatedAt', updatedAt) ..add('archivedAt', archivedAt) ..add('isDeleted', isDeleted) ..add('createdUserId', createdUserId) ..add('assignedUserId', assignedUserId) ..add('id', id)) .toString(); } } class CompanyGatewayEntityBuilder implements Builder { _$CompanyGatewayEntity? _$v; int? _loadedAt; int? get loadedAt => _$this._loadedAt; set loadedAt(int? loadedAt) => _$this._loadedAt = loadedAt; String? _gatewayId; String? get gatewayId => _$this._gatewayId; set gatewayId(String? gatewayId) => _$this._gatewayId = gatewayId; int? _acceptedCreditCards; int? get acceptedCreditCards => _$this._acceptedCreditCards; set acceptedCreditCards(int? acceptedCreditCards) => _$this._acceptedCreditCards = acceptedCreditCards; bool? _requireShippingAddress; bool? get requireShippingAddress => _$this._requireShippingAddress; set requireShippingAddress(bool? requireShippingAddress) => _$this._requireShippingAddress = requireShippingAddress; bool? _requireBillingAddress; bool? get requireBillingAddress => _$this._requireBillingAddress; set requireBillingAddress(bool? requireBillingAddress) => _$this._requireBillingAddress = requireBillingAddress; bool? _requireClientName; bool? get requireClientName => _$this._requireClientName; set requireClientName(bool? requireClientName) => _$this._requireClientName = requireClientName; bool? _requirePostalCode; bool? get requirePostalCode => _$this._requirePostalCode; set requirePostalCode(bool? requirePostalCode) => _$this._requirePostalCode = requirePostalCode; bool? _requireClientPhone; bool? get requireClientPhone => _$this._requireClientPhone; set requireClientPhone(bool? requireClientPhone) => _$this._requireClientPhone = requireClientPhone; bool? _requireContactName; bool? get requireContactName => _$this._requireContactName; set requireContactName(bool? requireContactName) => _$this._requireContactName = requireContactName; bool? _requireContactEmail; bool? get requireContactEmail => _$this._requireContactEmail; set requireContactEmail(bool? requireContactEmail) => _$this._requireContactEmail = requireContactEmail; bool? _requireCustomValue1; bool? get requireCustomValue1 => _$this._requireCustomValue1; set requireCustomValue1(bool? requireCustomValue1) => _$this._requireCustomValue1 = requireCustomValue1; bool? _requireCustomValue2; bool? get requireCustomValue2 => _$this._requireCustomValue2; set requireCustomValue2(bool? requireCustomValue2) => _$this._requireCustomValue2 = requireCustomValue2; bool? _requireCustomValue3; bool? get requireCustomValue3 => _$this._requireCustomValue3; set requireCustomValue3(bool? requireCustomValue3) => _$this._requireCustomValue3 = requireCustomValue3; bool? _requireCustomValue4; bool? get requireCustomValue4 => _$this._requireCustomValue4; set requireCustomValue4(bool? requireCustomValue4) => _$this._requireCustomValue4 = requireCustomValue4; bool? _requireCvv; bool? get requireCvv => _$this._requireCvv; set requireCvv(bool? requireCvv) => _$this._requireCvv = requireCvv; bool? _updateDetails; bool? get updateDetails => _$this._updateDetails; set updateDetails(bool? updateDetails) => _$this._updateDetails = updateDetails; MapBuilder? _feesAndLimitsMap; MapBuilder get feesAndLimitsMap => _$this._feesAndLimitsMap ??= new MapBuilder(); set feesAndLimitsMap( MapBuilder? feesAndLimitsMap) => _$this._feesAndLimitsMap = feesAndLimitsMap; ListBuilder? _systemLogs; ListBuilder get systemLogs => _$this._systemLogs ??= new ListBuilder(); set systemLogs(ListBuilder? systemLogs) => _$this._systemLogs = systemLogs; String? _customValue1; String? get customValue1 => _$this._customValue1; set customValue1(String? customValue1) => _$this._customValue1 = customValue1; String? _customValue2; String? get customValue2 => _$this._customValue2; set customValue2(String? customValue2) => _$this._customValue2 = customValue2; String? _customValue3; String? get customValue3 => _$this._customValue3; set customValue3(String? customValue3) => _$this._customValue3 = customValue3; String? _customValue4; String? get customValue4 => _$this._customValue4; set customValue4(String? customValue4) => _$this._customValue4 = customValue4; String? _config; String? get config => _$this._config; set config(String? config) => _$this._config = config; String? _tokenBilling; String? get tokenBilling => _$this._tokenBilling; set tokenBilling(String? tokenBilling) => _$this._tokenBilling = tokenBilling; bool? _isTestMode; bool? get isTestMode => _$this._isTestMode; set isTestMode(bool? isTestMode) => _$this._isTestMode = isTestMode; String? _label; String? get label => _$this._label; set label(String? label) => _$this._label = label; bool? _isChanged; bool? get isChanged => _$this._isChanged; set isChanged(bool? isChanged) => _$this._isChanged = isChanged; int? _createdAt; int? get createdAt => _$this._createdAt; set createdAt(int? createdAt) => _$this._createdAt = createdAt; int? _updatedAt; int? get updatedAt => _$this._updatedAt; set updatedAt(int? updatedAt) => _$this._updatedAt = updatedAt; int? _archivedAt; int? get archivedAt => _$this._archivedAt; set archivedAt(int? archivedAt) => _$this._archivedAt = archivedAt; bool? _isDeleted; bool? get isDeleted => _$this._isDeleted; set isDeleted(bool? isDeleted) => _$this._isDeleted = isDeleted; String? _createdUserId; String? get createdUserId => _$this._createdUserId; set createdUserId(String? createdUserId) => _$this._createdUserId = createdUserId; String? _assignedUserId; String? get assignedUserId => _$this._assignedUserId; set assignedUserId(String? assignedUserId) => _$this._assignedUserId = assignedUserId; String? _id; String? get id => _$this._id; set id(String? id) => _$this._id = id; CompanyGatewayEntityBuilder() { CompanyGatewayEntity._initializeBuilder(this); } CompanyGatewayEntityBuilder get _$this { final $v = _$v; if ($v != null) { _loadedAt = $v.loadedAt; _gatewayId = $v.gatewayId; _acceptedCreditCards = $v.acceptedCreditCards; _requireShippingAddress = $v.requireShippingAddress; _requireBillingAddress = $v.requireBillingAddress; _requireClientName = $v.requireClientName; _requirePostalCode = $v.requirePostalCode; _requireClientPhone = $v.requireClientPhone; _requireContactName = $v.requireContactName; _requireContactEmail = $v.requireContactEmail; _requireCustomValue1 = $v.requireCustomValue1; _requireCustomValue2 = $v.requireCustomValue2; _requireCustomValue3 = $v.requireCustomValue3; _requireCustomValue4 = $v.requireCustomValue4; _requireCvv = $v.requireCvv; _updateDetails = $v.updateDetails; _feesAndLimitsMap = $v.feesAndLimitsMap.toBuilder(); _systemLogs = $v.systemLogs.toBuilder(); _customValue1 = $v.customValue1; _customValue2 = $v.customValue2; _customValue3 = $v.customValue3; _customValue4 = $v.customValue4; _config = $v.config; _tokenBilling = $v.tokenBilling; _isTestMode = $v.isTestMode; _label = $v.label; _isChanged = $v.isChanged; _createdAt = $v.createdAt; _updatedAt = $v.updatedAt; _archivedAt = $v.archivedAt; _isDeleted = $v.isDeleted; _createdUserId = $v.createdUserId; _assignedUserId = $v.assignedUserId; _id = $v.id; _$v = null; } return this; } @override void replace(CompanyGatewayEntity other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$CompanyGatewayEntity; } @override void update(void Function(CompanyGatewayEntityBuilder)? updates) { if (updates != null) updates(this); } @override CompanyGatewayEntity build() => _build(); _$CompanyGatewayEntity _build() { _$CompanyGatewayEntity _$result; try { _$result = _$v ?? new _$CompanyGatewayEntity._( loadedAt: loadedAt, gatewayId: BuiltValueNullFieldError.checkNotNull( gatewayId, r'CompanyGatewayEntity', 'gatewayId'), acceptedCreditCards: BuiltValueNullFieldError.checkNotNull( acceptedCreditCards, r'CompanyGatewayEntity', 'acceptedCreditCards'), requireShippingAddress: BuiltValueNullFieldError.checkNotNull( requireShippingAddress, r'CompanyGatewayEntity', 'requireShippingAddress'), requireBillingAddress: BuiltValueNullFieldError.checkNotNull( requireBillingAddress, r'CompanyGatewayEntity', 'requireBillingAddress'), requireClientName: BuiltValueNullFieldError.checkNotNull( requireClientName, r'CompanyGatewayEntity', 'requireClientName'), requirePostalCode: requirePostalCode, requireClientPhone: BuiltValueNullFieldError.checkNotNull( requireClientPhone, r'CompanyGatewayEntity', 'requireClientPhone'), requireContactName: BuiltValueNullFieldError.checkNotNull(requireContactName, r'CompanyGatewayEntity', 'requireContactName'), requireContactEmail: BuiltValueNullFieldError.checkNotNull(requireContactEmail, r'CompanyGatewayEntity', 'requireContactEmail'), requireCustomValue1: BuiltValueNullFieldError.checkNotNull(requireCustomValue1, r'CompanyGatewayEntity', 'requireCustomValue1'), requireCustomValue2: BuiltValueNullFieldError.checkNotNull(requireCustomValue2, r'CompanyGatewayEntity', 'requireCustomValue2'), requireCustomValue3: BuiltValueNullFieldError.checkNotNull(requireCustomValue3, r'CompanyGatewayEntity', 'requireCustomValue3'), requireCustomValue4: BuiltValueNullFieldError.checkNotNull(requireCustomValue4, r'CompanyGatewayEntity', 'requireCustomValue4'), requireCvv: BuiltValueNullFieldError.checkNotNull(requireCvv, r'CompanyGatewayEntity', 'requireCvv'), updateDetails: BuiltValueNullFieldError.checkNotNull(updateDetails, r'CompanyGatewayEntity', 'updateDetails'), feesAndLimitsMap: feesAndLimitsMap.build(), systemLogs: systemLogs.build(), customValue1: BuiltValueNullFieldError.checkNotNull(customValue1, r'CompanyGatewayEntity', 'customValue1'), customValue2: BuiltValueNullFieldError.checkNotNull(customValue2, r'CompanyGatewayEntity', 'customValue2'), customValue3: BuiltValueNullFieldError.checkNotNull(customValue3, r'CompanyGatewayEntity', 'customValue3'), customValue4: BuiltValueNullFieldError.checkNotNull(customValue4, r'CompanyGatewayEntity', 'customValue4'), config: BuiltValueNullFieldError.checkNotNull(config, r'CompanyGatewayEntity', 'config'), tokenBilling: BuiltValueNullFieldError.checkNotNull(tokenBilling, r'CompanyGatewayEntity', 'tokenBilling'), isTestMode: BuiltValueNullFieldError.checkNotNull(isTestMode, r'CompanyGatewayEntity', 'isTestMode'), label: BuiltValueNullFieldError.checkNotNull(label, r'CompanyGatewayEntity', 'label'), isChanged: isChanged, createdAt: BuiltValueNullFieldError.checkNotNull(createdAt, r'CompanyGatewayEntity', 'createdAt'), updatedAt: BuiltValueNullFieldError.checkNotNull(updatedAt, r'CompanyGatewayEntity', 'updatedAt'), archivedAt: BuiltValueNullFieldError.checkNotNull(archivedAt, r'CompanyGatewayEntity', 'archivedAt'), isDeleted: isDeleted, createdUserId: createdUserId, assignedUserId: assignedUserId, id: BuiltValueNullFieldError.checkNotNull(id, r'CompanyGatewayEntity', 'id')); } catch (_) { late String _$failedField; try { _$failedField = 'feesAndLimitsMap'; feesAndLimitsMap.build(); _$failedField = 'systemLogs'; systemLogs.build(); } catch (e) { throw new BuiltValueNestedFieldError( r'CompanyGatewayEntity', _$failedField, e.toString()); } rethrow; } replace(_$result); return _$result; } } class _$FeesAndLimitsSettings extends FeesAndLimitsSettings { @override final double minLimit; @override final double maxLimit; @override final double feeAmount; @override final double feePercent; @override final double feeCap; @override final double taxRate1; @override final String taxName1; @override final double taxRate2; @override final String taxName2; @override final double taxRate3; @override final String taxName3; @override final bool adjustFeePercent; @override final bool isEnabled; factory _$FeesAndLimitsSettings( [void Function(FeesAndLimitsSettingsBuilder)? updates]) => (new FeesAndLimitsSettingsBuilder()..update(updates))._build(); _$FeesAndLimitsSettings._( {required this.minLimit, required this.maxLimit, required this.feeAmount, required this.feePercent, required this.feeCap, required this.taxRate1, required this.taxName1, required this.taxRate2, required this.taxName2, required this.taxRate3, required this.taxName3, required this.adjustFeePercent, required this.isEnabled}) : super._() { BuiltValueNullFieldError.checkNotNull( minLimit, r'FeesAndLimitsSettings', 'minLimit'); BuiltValueNullFieldError.checkNotNull( maxLimit, r'FeesAndLimitsSettings', 'maxLimit'); BuiltValueNullFieldError.checkNotNull( feeAmount, r'FeesAndLimitsSettings', 'feeAmount'); BuiltValueNullFieldError.checkNotNull( feePercent, r'FeesAndLimitsSettings', 'feePercent'); BuiltValueNullFieldError.checkNotNull( feeCap, r'FeesAndLimitsSettings', 'feeCap'); BuiltValueNullFieldError.checkNotNull( taxRate1, r'FeesAndLimitsSettings', 'taxRate1'); BuiltValueNullFieldError.checkNotNull( taxName1, r'FeesAndLimitsSettings', 'taxName1'); BuiltValueNullFieldError.checkNotNull( taxRate2, r'FeesAndLimitsSettings', 'taxRate2'); BuiltValueNullFieldError.checkNotNull( taxName2, r'FeesAndLimitsSettings', 'taxName2'); BuiltValueNullFieldError.checkNotNull( taxRate3, r'FeesAndLimitsSettings', 'taxRate3'); BuiltValueNullFieldError.checkNotNull( taxName3, r'FeesAndLimitsSettings', 'taxName3'); BuiltValueNullFieldError.checkNotNull( adjustFeePercent, r'FeesAndLimitsSettings', 'adjustFeePercent'); BuiltValueNullFieldError.checkNotNull( isEnabled, r'FeesAndLimitsSettings', 'isEnabled'); } @override FeesAndLimitsSettings rebuild( void Function(FeesAndLimitsSettingsBuilder) updates) => (toBuilder()..update(updates)).build(); @override FeesAndLimitsSettingsBuilder toBuilder() => new FeesAndLimitsSettingsBuilder()..replace(this); @override bool operator ==(Object other) { if (identical(other, this)) return true; return other is FeesAndLimitsSettings && minLimit == other.minLimit && maxLimit == other.maxLimit && feeAmount == other.feeAmount && feePercent == other.feePercent && feeCap == other.feeCap && taxRate1 == other.taxRate1 && taxName1 == other.taxName1 && taxRate2 == other.taxRate2 && taxName2 == other.taxName2 && taxRate3 == other.taxRate3 && taxName3 == other.taxName3 && adjustFeePercent == other.adjustFeePercent && isEnabled == other.isEnabled; } int? __hashCode; @override int get hashCode { if (__hashCode != null) return __hashCode!; var _$hash = 0; _$hash = $jc(_$hash, minLimit.hashCode); _$hash = $jc(_$hash, maxLimit.hashCode); _$hash = $jc(_$hash, feeAmount.hashCode); _$hash = $jc(_$hash, feePercent.hashCode); _$hash = $jc(_$hash, feeCap.hashCode); _$hash = $jc(_$hash, taxRate1.hashCode); _$hash = $jc(_$hash, taxName1.hashCode); _$hash = $jc(_$hash, taxRate2.hashCode); _$hash = $jc(_$hash, taxName2.hashCode); _$hash = $jc(_$hash, taxRate3.hashCode); _$hash = $jc(_$hash, taxName3.hashCode); _$hash = $jc(_$hash, adjustFeePercent.hashCode); _$hash = $jc(_$hash, isEnabled.hashCode); _$hash = $jf(_$hash); return __hashCode ??= _$hash; } @override String toString() { return (newBuiltValueToStringHelper(r'FeesAndLimitsSettings') ..add('minLimit', minLimit) ..add('maxLimit', maxLimit) ..add('feeAmount', feeAmount) ..add('feePercent', feePercent) ..add('feeCap', feeCap) ..add('taxRate1', taxRate1) ..add('taxName1', taxName1) ..add('taxRate2', taxRate2) ..add('taxName2', taxName2) ..add('taxRate3', taxRate3) ..add('taxName3', taxName3) ..add('adjustFeePercent', adjustFeePercent) ..add('isEnabled', isEnabled)) .toString(); } } class FeesAndLimitsSettingsBuilder implements Builder { _$FeesAndLimitsSettings? _$v; double? _minLimit; double? get minLimit => _$this._minLimit; set minLimit(double? minLimit) => _$this._minLimit = minLimit; double? _maxLimit; double? get maxLimit => _$this._maxLimit; set maxLimit(double? maxLimit) => _$this._maxLimit = maxLimit; double? _feeAmount; double? get feeAmount => _$this._feeAmount; set feeAmount(double? feeAmount) => _$this._feeAmount = feeAmount; double? _feePercent; double? get feePercent => _$this._feePercent; set feePercent(double? feePercent) => _$this._feePercent = feePercent; double? _feeCap; double? get feeCap => _$this._feeCap; set feeCap(double? feeCap) => _$this._feeCap = feeCap; double? _taxRate1; double? get taxRate1 => _$this._taxRate1; set taxRate1(double? taxRate1) => _$this._taxRate1 = taxRate1; String? _taxName1; String? get taxName1 => _$this._taxName1; set taxName1(String? taxName1) => _$this._taxName1 = taxName1; double? _taxRate2; double? get taxRate2 => _$this._taxRate2; set taxRate2(double? taxRate2) => _$this._taxRate2 = taxRate2; String? _taxName2; String? get taxName2 => _$this._taxName2; set taxName2(String? taxName2) => _$this._taxName2 = taxName2; double? _taxRate3; double? get taxRate3 => _$this._taxRate3; set taxRate3(double? taxRate3) => _$this._taxRate3 = taxRate3; String? _taxName3; String? get taxName3 => _$this._taxName3; set taxName3(String? taxName3) => _$this._taxName3 = taxName3; bool? _adjustFeePercent; bool? get adjustFeePercent => _$this._adjustFeePercent; set adjustFeePercent(bool? adjustFeePercent) => _$this._adjustFeePercent = adjustFeePercent; bool? _isEnabled; bool? get isEnabled => _$this._isEnabled; set isEnabled(bool? isEnabled) => _$this._isEnabled = isEnabled; FeesAndLimitsSettingsBuilder() { FeesAndLimitsSettings._initializeBuilder(this); } FeesAndLimitsSettingsBuilder get _$this { final $v = _$v; if ($v != null) { _minLimit = $v.minLimit; _maxLimit = $v.maxLimit; _feeAmount = $v.feeAmount; _feePercent = $v.feePercent; _feeCap = $v.feeCap; _taxRate1 = $v.taxRate1; _taxName1 = $v.taxName1; _taxRate2 = $v.taxRate2; _taxName2 = $v.taxName2; _taxRate3 = $v.taxRate3; _taxName3 = $v.taxName3; _adjustFeePercent = $v.adjustFeePercent; _isEnabled = $v.isEnabled; _$v = null; } return this; } @override void replace(FeesAndLimitsSettings other) { ArgumentError.checkNotNull(other, 'other'); _$v = other as _$FeesAndLimitsSettings; } @override void update(void Function(FeesAndLimitsSettingsBuilder)? updates) { if (updates != null) updates(this); } @override FeesAndLimitsSettings build() => _build(); _$FeesAndLimitsSettings _build() { final _$result = _$v ?? new _$FeesAndLimitsSettings._( minLimit: BuiltValueNullFieldError.checkNotNull( minLimit, r'FeesAndLimitsSettings', 'minLimit'), maxLimit: BuiltValueNullFieldError.checkNotNull( maxLimit, r'FeesAndLimitsSettings', 'maxLimit'), feeAmount: BuiltValueNullFieldError.checkNotNull( feeAmount, r'FeesAndLimitsSettings', 'feeAmount'), feePercent: BuiltValueNullFieldError.checkNotNull( feePercent, r'FeesAndLimitsSettings', 'feePercent'), feeCap: BuiltValueNullFieldError.checkNotNull( feeCap, r'FeesAndLimitsSettings', 'feeCap'), taxRate1: BuiltValueNullFieldError.checkNotNull( taxRate1, r'FeesAndLimitsSettings', 'taxRate1'), taxName1: BuiltValueNullFieldError.checkNotNull( taxName1, r'FeesAndLimitsSettings', 'taxName1'), taxRate2: BuiltValueNullFieldError.checkNotNull( taxRate2, r'FeesAndLimitsSettings', 'taxRate2'), taxName2: BuiltValueNullFieldError.checkNotNull(taxName2, r'FeesAndLimitsSettings', 'taxName2'), taxRate3: BuiltValueNullFieldError.checkNotNull(taxRate3, r'FeesAndLimitsSettings', 'taxRate3'), taxName3: BuiltValueNullFieldError.checkNotNull(taxName3, r'FeesAndLimitsSettings', 'taxName3'), adjustFeePercent: BuiltValueNullFieldError.checkNotNull(adjustFeePercent, r'FeesAndLimitsSettings', 'adjustFeePercent'), isEnabled: BuiltValueNullFieldError.checkNotNull(isEnabled, r'FeesAndLimitsSettings', 'isEnabled')); replace(_$result); return _$result; } } // ignore_for_file: deprecated_member_use_from_same_package,type=lint