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