isMemoryImage property

bool get isMemoryImage

Checks if the string represents a base64 encoded image.

Implementation

bool get isMemoryImage => startsWith('data:image');