factory SearchException.fromJson(Map<String, dynamic> json) { return SearchException( message: json['message'] as String?, ); }