build method

  1. @override
_$PinwheelAmountPayload build()
override

Builds.

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

Implementation

@override
_$PinwheelAmountPayload build() {
  final _$result = _$v ??
      new _$PinwheelAmountPayload._(
          unit: BuiltValueNullFieldError.checkNotNull(
              unit, 'PinwheelAmountPayload', 'unit'),
          value: BuiltValueNullFieldError.checkNotNull(
              value, 'PinwheelAmountPayload', 'value'));
  replace(_$result);
  return _$result;
}