isTrailLicence method

  1. @override
Future<bool?> isTrailLicence()
override

Implementation

@override
Future<bool?> isTrailLicence() async {
  bool? val = true;
  try {
    val =
        await mirrorFlyMethodChannel.invokeMethod<bool?>('IS_TRIAL_LICENSE');
    debugPrint('isTrailLicence : $val');
    return val;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}