removeCaptionPerText method

void removeCaptionPerText(
  1. String caption
)

Implementation

void removeCaptionPerText(String caption) {
  _captions.removeWhere((captionObject) => captionObject.caption == caption);
}