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