setup method
Setup or update Picture in Picture.
options
The options of the Picture in Picture.
Returns Whether Picture in Picture is setup successfully.
Implementation
@override
Future<bool> setup(PipOptions options) async {
final dicOptions = options.toDictionary();
final result = await methodChannel.invokeMethod<bool>('setup', dicOptions);
return result ?? false;
}