# ensureCapacity method

void ensureCapacity(

1. int minimumCapacity

)

Ensures that the capacity is at least the specified minimum.

`minimumCapacity` the minimum capacity Note: In Dart, this is mostly a no-op since StringBuffer handles capacity automatically

## Implementation

    void ensureCapacity(int minimumCapacity) {
      // StringBuffer in Dart handles capacity automatically
      // This method is provided for Java compatibility
    }