build method
Builds.
The implementation of this method will be generated for you by the built_value generator.
Implementation
@override
_$SnappedPoint build() {
_$SnappedPoint _$result;
try {
_$result = _$v ??
new _$SnappedPoint._(
location: _location?.build(),
placeId: placeId,
originalIndex: originalIndex);
} catch (_) {
late String _$failedField;
try {
_$failedField = 'location';
_location?.build();
} catch (e) {
throw new BuiltValueNestedFieldError(
'SnappedPoint', _$failedField, e.toString());
}
rethrow;
}
replace(_$result);
return _$result;
}