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