toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => <String, dynamic>{
  "userName": userName,
  "email": email,
  "phoneNumber": phoneNumber,
  "password": password,
  "firstName": firstName,
  "lastName": lastName,
  "nationalCode": nationalCode,
  "tags": List<dynamic>.from(tags.map((int x) => x)),
};