UrlNotificationMetadata.fromJson constructor

UrlNotificationMetadata.fromJson(
  1. Map json_
)

Implementation

UrlNotificationMetadata.fromJson(core.Map json_)
  : this(
      latestRemove: json_.containsKey('latestRemove')
          ? UrlNotification.fromJson(
              json_['latestRemove'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      latestUpdate: json_.containsKey('latestUpdate')
          ? UrlNotification.fromJson(
              json_['latestUpdate'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      url: json_['url'] as core.String?,
    );