isCharsetUTF8 property

bool isCharsetUTF8

Returns true if charset is UTF-8.

Implementation

bool get isCharsetUTF8 => charset == 'utf8' || charset == 'utf-8';