addWatchFace method

  1. @override
Future<bool?> addWatchFace(
  1. String url
)
override

Implementation

@override
Future<bool?> addWatchFace(String url) async{
  try {
    final response = await methodChannel.invokeMethod<bool>('addWatchFace', {"url": url.replaceAll(".watchface", "")});
    return response;
  } catch(e) {
    print(e);
    return false;
  }
}