text property

String? get text

The source text, or null for a binary backend.

Implementation

String? get text =>
    backend.isTextual ? utf8.decode(bytes, allowMalformed: true) : null;