toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'userID': userID,
    'name': name,
    'cpf': name,
    'email': email,
    'gender': gender,
    'birthday': birthday,
    'location': location,
    'customData': customData != null ? json.encode(customData) : null,
  };
}