build method

  1. @override
_$PinwheelSuccessPayload build()
override

Builds.

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

Implementation

@override
_$PinwheelSuccessPayload build() {
  _$PinwheelSuccessPayload _$result;
  try {
    _$result = _$v ??
        new _$PinwheelSuccessPayload._(
            accountId: BuiltValueNullFieldError.checkNotNull(
                accountId, 'PinwheelSuccessPayload', 'accountId'),
            job: BuiltValueNullFieldError.checkNotNull(
                job, 'PinwheelSuccessPayload', 'job'),
            params: params.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'params';
      params.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'PinwheelSuccessPayload', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}