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