build method

  1. @override
_$GeocodingGeometry build()
override

Builds.

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

Implementation

@override
_$GeocodingGeometry build() {
  _$GeocodingGeometry _$result;
  try {
    _$result = _$v ??
        new _$GeocodingGeometry._(
            location: location.build(),
            locationType: BuiltValueNullFieldError.checkNotNull(
                locationType, 'GeocodingGeometry', 'locationType'),
            viewport: viewport.build(),
            bounds: _bounds?.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'location';
      location.build();

      _$failedField = 'viewport';
      viewport.build();
      _$failedField = 'bounds';
      _bounds?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'GeocodingGeometry', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}