toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['userID'] = this.userID;
  if (this.customInfo != null) data['customInfo'] = this.customInfo;
  if (this.nameCard != null) data['nameCard'] = this.nameCard;
  return data;
}