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