build method

  1. @override
_$PlaceQuery build()
override

Builds.

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

Implementation

@override
_$PlaceQuery build() {
  _$PlaceQuery _$result;
  try {
    _$result = _$v ??
        new _$PlaceQuery._(
            cityName: _cityName?.build(),
            countryCode: _countryCode?.build(),
            geoPoint: _geoPoint?.build(),
            streetAddress: _streetAddress?.build(),
            stateCode: _stateCode?.build(),
            title: _title?.build(),
            meta: _meta?.build());
  } catch (_) {
    String _$failedField;
    try {
      _$failedField = 'cityName';
      _cityName?.build();
      _$failedField = 'countryCode';
      _countryCode?.build();
      _$failedField = 'geoPoint';
      _geoPoint?.build();
      _$failedField = 'streetAddress';
      _streetAddress?.build();
      _$failedField = 'stateCode';
      _stateCode?.build();
      _$failedField = 'title';
      _title?.build();
      _$failedField = 'meta';
      _meta?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'PlaceQuery', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}