build method

  1. @override
_$PlacePhoto build()
override

Builds.

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

Implementation

@override
_$PlacePhoto build() {
  _$PlacePhoto _$result;
  try {
    _$result = _$v ??
        new _$PlacePhoto._(
            height: BuiltValueNullFieldError.checkNotNull(
                height, 'PlacePhoto', 'height'),
            width: BuiltValueNullFieldError.checkNotNull(
                width, 'PlacePhoto', 'width'),
            htmlAttributions: htmlAttributions.build(),
            photoReference: BuiltValueNullFieldError.checkNotNull(
                photoReference, 'PlacePhoto', 'photoReference'));
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'htmlAttributions';
      htmlAttributions.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'PlacePhoto', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}