getIsVideoSpotLighted method
Determine whether the user's video is spotlighted.
Return true indicates that the user's video is spotlighted, otherwise false.
Implementation
Future<bool> getIsVideoSpotLighted() async {
var params = <String, dynamic>{};
params.putIfAbsent("userId", () => userId);
return await methodChannel
.invokeMethod<bool>('isVideoSpotLighted', params)
.then<bool>((bool? value) => value ?? false);
}