isVideo property

bool get isVideo

Check if this is a video type

Implementation

bool get isVideo => media?.type.toUpperCase() == 'VIDEO';