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