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