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