build method

  1. @override
_$GeolocationRequest build()
override

Builds.

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

Implementation

@override
_$GeolocationRequest build() {
  _$GeolocationRequest _$result;
  try {
    _$result = _$v ??
        new _$GeolocationRequest._(
            homeMobileCountryCode: homeMobileCountryCode,
            homeMobileNetworkCode: homeMobileNetworkCode,
            radioType: radioType,
            carrier: carrier,
            considerIp: considerIp,
            cellTowers: _cellTowers?.build(),
            wifiAccessPoints: _wifiAccessPoints?.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'cellTowers';
      _cellTowers?.build();
      _$failedField = 'wifiAccessPoints';
      _wifiAccessPoints?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'GeolocationRequest', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}