parseBool function
Implementation
bool parseBool(dynamic value, {bool isVideoMutedChanged = false}) {
if (value is bool) return value;
if (isVideoMutedChanged && value is String) {
return value != '0.0';
}
if (value is String) return value == 'true';
if (value is num) return value != 0;
throw ArgumentError('OMNI_JITSI: Unsupported type: $value');
}