fromJson static method
Implementation
static WebDomainException? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return WebDomainException(
url: (json['url'] as String?) ?? '',
domain: (json['domain'] as String?) ?? '',
title: (json['title'] as String?) ?? '',
faviconCustomEmojiId:
int.tryParse(
(json['favicon_custom_emoji_id'] as dynamic)?.toString() ?? '',
) ??
0,
);
}