toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['uuid'] = uuid;
  map['refCode'] = refCode;
  map['firstName'] = firstName;
  map['lastName'] = lastName;
  map['email'] = email;
  map['phoneNumber'] = phoneNumber;
  map['totalSpendInUSD'] = totalSpendInUSD;
  map['businessId'] = businessId;
  map['userId'] = userId;
  map['context'] = context;
  map['createdAtDateOnly'] = createdAtDateOnly;
  map['createdAt'] = createdAt;
  return map;
}