hasCaptions property

bool get hasCaptions

Returns true if captions is not null, otherwise false.

Implementation

bool get hasCaptions => captions != null;