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