build method

  1. @override
_$PinwheelParams build()
override

Builds.

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

Implementation

@override
_$PinwheelParams build() {
  _$PinwheelParams _$result;
  try {
    _$result = _$v ?? new _$PinwheelParams._(amount: _amount?.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'amount';
      _amount?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'PinwheelParams', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}