cdnUrlListToJson method

List<Map<String, dynamic>> cdnUrlListToJson()

Convert cdnUrlList to Json format

Implementation

List<Map<String, dynamic>> cdnUrlListToJson() {
  List<Map<String, dynamic>> listJson = [];
  if (this.cdnUrlList.isNotEmpty) {
    for (var url in this.cdnUrlList) {
      listJson.add(url.toJson());
    }
  }
  return listJson;
}