UrlNotification.fromJson constructor Null safety

UrlNotification.fromJson(
  1. Map _json
)

Implementation

UrlNotification.fromJson(core.Map _json)
    : this(
        notifyTime: _json.containsKey('notifyTime')
            ? _json['notifyTime'] as core.String
            : null,
        type: _json.containsKey('type') ? _json['type'] as core.String : null,
        url: _json.containsKey('url') ? _json['url'] as core.String : null,
      );