throwArgumentError<T extends VariantAttribute<IVariant> > function
Implementation
ArgumentError throwArgumentError<T extends VariantAttribute>(T? other) {
throw ArgumentError.value(
other.runtimeType,
'other',
'VariantAttribute must have the same variant',
);
}