toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'id': id,
    'uuid_firebase': uuidFirebase,
    'email': email,
    'password': password,
    'document_type': documentType,
    'document_number': documentNumber,
    'first_name': firstName,
    'last_name': lastName,
    'full_name': fullName,
    'person_type': personType,
    'cellphone': cellphone,
    'address': address,
    'department_id': departmentId,
    'city_id': cityId,
    'neighborhood': neighborhood,
    'rol_id': rolId,
    'causa_registro': causaRegistro,
    'state': state,
    'token': token,
    'verificated': verificated,
    'is_active': isActive,
    'date_joined': dateJoined,
    'updated': updated,
  };
}