toMemoryProvider abstract method

Future<MemoryMediaProvider> toMemoryProvider()

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

Throws a StateError when the conversion fails.

Implementation

Future<MemoryMediaProvider> toMemoryProvider();