getPlatformInfo method
What the native backend can do.
Implementation
@override
Future<OnDeviceAiPlatformInfo> getPlatformInfo() async {
final map = await _invokeMap('getPlatformInfo');
return OnDeviceAiPlatformInfo.fromMap(map ?? {'backend': 'unsupported'});
}