build method

  1. @override
_$Review build()
override

Builds.

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

Implementation

@override
_$Review build() {
  _$Review _$result;
  try {
    _$result = _$v ??
        new _$Review._(
            malId: BuiltValueNullFieldError.checkNotNull(
                malId, 'Review', 'malId'),
            url: BuiltValueNullFieldError.checkNotNull(url, 'Review', 'url'),
            type: type,
            helpfulCount: BuiltValueNullFieldError.checkNotNull(
                helpfulCount, 'Review', 'helpfulCount'),
            date:
                BuiltValueNullFieldError.checkNotNull(date, 'Review', 'date'),
            reviewer: reviewer.build(),
            content: BuiltValueNullFieldError.checkNotNull(
                content, 'Review', 'content'));
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'reviewer';
      reviewer.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'Review', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}