toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'customerId': customerId,
      'fullName': fullName,
      'email': email,
      'deviceToken': deviceToken,
      'businessId': businessId,
      '_id': id,
      'createdAt': createdAt,
      'updatedAt': updatedAt,
      '__v': v,
    };