build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$GHeroWithFragmentsData build() {
_$GHeroWithFragmentsData _$result;
try {
_$result = _$v ??
new _$GHeroWithFragmentsData._(
G__typename: BuiltValueNullFieldError.checkNotNull(
G__typename, 'GHeroWithFragmentsData', 'G__typename'),
hero: _hero?.build());
} catch (_) {
late String _$failedField;
try {
_$failedField = 'hero';
_hero?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'GHeroWithFragmentsData', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}