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