isModel property

bool get isModel

Returns true if the byte content is identified as a 3D model.

Example MIME types: model/gltf-binary.

Implementation

bool get isModel => mime?.startsWith("model") ?? false;