toMap method

  1. @override
Map<String, dynamic> toMap()
override

Converts the WingifyUserContext object into a Map.

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'id': id,
    'customVariables': customVariables,
    'shouldUseDeviceIdAsUserId': shouldUseDeviceIdAsUserId,
  };
}