handleGroupUnsetProperty method

void handleGroupUnsetProperty(
  1. MethodCall call
)

Implementation

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

  String propertyName = args['propertyName'] as String;
  get_group(groupKey,
          (groupID is Map || groupID is List) ? js.jsify(groupID) : groupID)
      .unset(propertyName);
}