supported property
Whether this platform family serves these calls. Elsewhere every method
throws XScreenSourcesException with code unsupported, before it looks
at its arguments — and so does every call the family's captureMode has
no role for: list and the permission pair off
XScreenCaptureMode.pickerDriven, startShare and stopShare off
XScreenCaptureMode.consentDriven.
Implementation
@override
bool get supported =>
!kIsWeb &&
switch (defaultTargetPlatform) {
TargetPlatform.macOS ||
TargetPlatform.android ||
TargetPlatform.iOS => true,
_ => false,
};