build method

  1. @override
_$GReviewsData_reviews build()
override

Builds.

The implementation of this method will be generated for you by the built_value generator.

Implementation

@override
_$GReviewsData_reviews build() {
  _$GReviewsData_reviews _$result;
  try {
    _$result = _$v ??
        new _$GReviewsData_reviews._(
            G__typename: BuiltValueNullFieldError.checkNotNull(
                G__typename, 'GReviewsData_reviews', 'G__typename'),
            id: BuiltValueNullFieldError.checkNotNull(
                id, 'GReviewsData_reviews', 'id'),
            episode: episode,
            stars: BuiltValueNullFieldError.checkNotNull(
                stars, 'GReviewsData_reviews', 'stars'),
            commentary: commentary,
            createdAt: createdAt,
            seenOn: seenOn.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'seenOn';
      seenOn.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'GReviewsData_reviews', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}