toTextTrackMode function
Implementation
String toTextTrackMode(PlatformInterface.TextTrackMode flutterTextTrackmode) {
switch (flutterTextTrackmode) {
case PlatformInterface.TextTrackMode.showing:
return "showing";
case PlatformInterface.TextTrackMode.hidden:
return "hidden";
case PlatformInterface.TextTrackMode.disabled:
default:
return "disabled";
}
}