addNasBookmark method

Future<HyperDeckRestResponse> addNasBookmark(
  1. String url, {
  2. String? username,
  3. String? password,
})

Implementation

Future<HyperDeckRestResponse> addNasBookmark(String url,
        {String? username, String? password}) =>
    post('/media/nas/bookmarks', {
      'url': url,
      if (username != null) 'username': username,
      if (password != null) 'password': password,
    });