fromMap static method
- String value
Creates a stream type from a map value.
Implementation
static CastMediaStreamType fromMap(String value) {
return CastMediaStreamType.values.firstWhere(
(element) => element.value == value,
orElse: () => CastMediaStreamType.none,
);
}