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