build method

  1. @override
_$GReviewsReq build()
override

Builds.

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

Implementation

@override
_$GReviewsReq build() {
  _$GReviewsReq _$result;
  try {
    _$result = _$v ??
        new _$GReviewsReq._(
            vars: vars.build(),
            operation: BuiltValueNullFieldError.checkNotNull(
                operation, 'GReviewsReq', 'operation'),
            requestId: requestId,
            updateResult: updateResult,
            optimisticResponse: _optimisticResponse?.build(),
            updateCacheHandlerKey: updateCacheHandlerKey,
            updateCacheHandlerContext: updateCacheHandlerContext,
            fetchPolicy: fetchPolicy,
            executeOnListen: BuiltValueNullFieldError.checkNotNull(
                executeOnListen, 'GReviewsReq', 'executeOnListen'));
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'vars';
      vars.build();

      _$failedField = 'optimisticResponse';
      _optimisticResponse?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'GReviewsReq', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}