TinyUrlLinkData constructor

TinyUrlLinkData({
  1. required String url,
  2. required String domain,
  3. required String alias,
  4. required List<String> tags,
  5. required String shortUrl,
})

TinyUrlLinkData class that hold all the metadata of the link shortened. an instance of the class will be returned after each successful request to tinyurl apis containing all the data send by the api

Implementation

TinyUrlLinkData({
  required this.url,
  required this.domain,
  required this.alias,
  required this.tags,
  required this.shortUrl,
});