toMedia method

Media toMedia()

Create Media from this String

Implementation

gd.Media toMedia() =>
    gd.Media(Future.value(toUtf8()).asStream().asBroadcastStream(), length);