build method

  1. @override
_$PinwheelExitPayload build()
override

Builds.

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

Implementation

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