build method

  1. @override
_$TipSettings build()
override

Builds.

The implementation of this method will be generated for you by the built_value generator.

Implementation

@override
_$TipSettings build() {
  _$TipSettings _$result;
  try {
    _$result = _$v ??
        new _$TipSettings._(
            showCustomTipField: showCustomTipField,
            showSeparateTipScreen: showSeparateTipScreen,
            tipPercentages: _tipPercentages?.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'tipPercentages';
      _tipPercentages?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'TipSettings', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}