handleAlias method

void handleAlias(
  1. MethodCall call
)

Implementation

void handleAlias(MethodCall call) {
  Map<Object?, Object?> args = call.arguments as Map<Object?, Object?>;
  String aliasName = args['alias'] as String;
  String distinctId = args['distinctId'] as String;
  alias(aliasName, distinctId);
}