build method

  1. @override
_$AddressComponent build()
override

Builds.

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

Implementation

@override
_$AddressComponent build() {
  _$AddressComponent _$result;
  try {
    _$result = _$v ??
        new _$AddressComponent._(
            longName: BuiltValueNullFieldError.checkNotNull(
                longName, 'AddressComponent', 'longName'),
            shortName: BuiltValueNullFieldError.checkNotNull(
                shortName, 'AddressComponent', 'shortName'),
            types: types.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'types';
      types.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'AddressComponent', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}