videoLayoutListToJson method

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

Convert videoLayoutList to Json format

Implementation

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