import 'dart:io'; class RegisterModel { String name; String userName; String email; String country; String city; int phonenumber; String jobtitle; String firstName; String lastName; File image; String password; RegisterModel( { this.email, this.country, this.city, this.phonenumber, this.jobtitle, this.firstName, this.lastName, this.password, this.image}); Map toJson() => { 'email': email, 'city': city, 'country': country, 'file': image, 'firstname': firstName, 'lastname': lastName, 'jobtitle': jobtitle, 'password': password, 'phonenumber': phonenumber }; }