AlertProperties.fromJson constructor
AlertProperties.fromJson(
- dynamic json
Implementation
factory AlertProperties.fromJson(dynamic json) {
String? url, contentUuid;
if (json != null && json.isNotEmpty) {
url = json['url'];
contentUuid = json['content_uuid'];
}
return AlertProperties(url: url, contentUuid: contentUuid);
}