isSupported method

  1. @override
Future<bool> isSupported()
override

Call this method to detect if your phone supports for DataLayerAPI

Implementation

@override
Future<bool> isSupported() async {
  bool? isSupported = await channel.invokeMethod("isSupported");
  return isSupported ?? false;
}