build method
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: 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;
}