handleGroupSetProperties method

void handleGroupSetProperties(
  1. MethodCall call
)

Implementation

void handleGroupSetProperties(MethodCall call) {
  Map<Object?, Object?> args = call.arguments as Map<Object?, Object?>;
  String groupKey = args['groupKey'] as String;
  dynamic groupID = args['groupID'];

  dynamic properties = args['properties'];
  get_group(groupKey,
          (groupID is Map || groupID is List) ? js.jsify(groupID) : groupID)
      .set(js.jsify(properties));
}