toTextProvider abstract method

Future<TextMediaProvider> toTextProvider()

Converts this provider to a TextMediaProvider, note that the mediaType will stay the same

Throws a StateError when the conversion fails.

Implementation

Future<TextMediaProvider> toTextProvider();