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