handleSetOnce method

void handleSetOnce(
  1. MethodCall call
)

Implementation

void handleSetOnce(MethodCall call) {
  Map<Object?, Object?> args = call.arguments as Map<Object?, Object?>;
  dynamic properties = args['properties'];
  Map<String, dynamic> props = {..._mixpanelProperties, ...properties};
  people_set_once(js.jsify(props));
}