Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'user'] = user; json[r'password'] = password; return json; }