build method

  1. @override
_$ApiError build()
override

Builds.

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

Implementation

@override
_$ApiError build() {
  _$ApiError _$result;
  try {
    _$result = _$v ??
        new _$ApiError._(
            status: status,
            uuid: uuid,
            errorCode: errorCode,
            description: description,
            resolution: resolution,
            action: action,
            function: function,
            stack: _stack?.build());
  } catch (_) {
    late String _$failedField;
    try {
      _$failedField = 'stack';
      _stack?.build();
    } catch (e) {
      throw new BuiltValueNestedFieldError(
          'ApiError', _$failedField, e.toString());
    }
    rethrow;
  }
  replace(_$result);
  return _$result;
}