build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$GAliasedHeroReq build() {
_$GAliasedHeroReq _$result;
try {
_$result = _$v ??
new _$GAliasedHeroReq._(
vars: vars.build(),
operation: BuiltValueNullFieldError.checkNotNull(
operation, 'GAliasedHeroReq', 'operation'),
requestId: requestId,
updateResult: updateResult,
optimisticResponse: _optimisticResponse?.build(),
updateCacheHandlerKey: updateCacheHandlerKey,
updateCacheHandlerContext: updateCacheHandlerContext,
fetchPolicy: fetchPolicy,
executeOnListen: BuiltValueNullFieldError.checkNotNull(
executeOnListen, 'GAliasedHeroReq', 'executeOnListen'));
} catch (_) {
late String _$failedField;
try {
_$failedField = 'vars';
vars.build();
_$failedField = 'optimisticResponse';
_optimisticResponse?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'GAliasedHeroReq', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}