static HttpUrl? fromJson(Map<String, dynamic>? json) { if (json == null) { return null; } return HttpUrl( url: (json['url'] as String?) ?? '', ); }