getValueFromHMSTrackSource method Null safety
- HMSTrackSource hmsTrackKind
Implementation
static String getValueFromHMSTrackSource(HMSTrackSource hmsTrackKind) {
switch (hmsTrackKind) {
case HMSTrackSource.kHMSTrackSourceRegular:
return 'kHMSTrackSourceRegular';
case HMSTrackSource.kHMSTrackSourceScreen:
return 'kHMSTrackSourceScreen';
case HMSTrackSource.kHMSTrackSourcePlugin:
return 'kHMSTrackSourcePlugin';
case HMSTrackSource.unknown:
return '';
}
}