Closed Issam-Otoz closed 3 years ago
this is the solution : class Person extends Serializable { String name; String email;
Map<String, dynamic> asMap() { return { "name": name, "email": email }; }
void readFromMap(Map<String, dynamic> inputMap) { name = inputMap['name']; email = inputMap['email']; } }
final person = Person(); final response = Response.ok(person);
Hello friends first of all , Thank you for aqueduct I want to create model only for Bind method how can I do that