build method

  1. @override
_$PinwheelError build()
override

Builds.

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

Implementation

@override
_$PinwheelError build() {
  final _$result = _$v ??
      new _$PinwheelError._(
          type: BuiltValueNullFieldError.checkNotNull(
              type, 'PinwheelError', 'type'),
          code: BuiltValueNullFieldError.checkNotNull(
              code, 'PinwheelError', 'code'),
          message: BuiltValueNullFieldError.checkNotNull(
              message, 'PinwheelError', 'message'),
          pendingRetry: BuiltValueNullFieldError.checkNotNull(
              pendingRetry, 'PinwheelError', 'pendingRetry'));
  replace(_$result);
  return _$result;
}