getWidth method
Get the video's frame height in pixels.
Return the video's frame height in pixels.
Implementation
@override
Future<num> getWidth() async {
var params = <String, dynamic>{};
params.putIfAbsent("userId", () => userId);
return await methodChannel
.invokeMethod<num>('getUserShareWidth', params)
.then<num>((num? value) => value ?? 0);
}