AlertProperties.fromJson constructor

AlertProperties.fromJson(
  1. 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);
}