FdcDataRecordKey constructor
Creates a FdcDataRecordKey.
Implementation
FdcDataRecordKey({
required List<String> fieldNames,
required List<Object?> values,
}) : fieldNames = List<String>.unmodifiable(fieldNames),
/// Field values carried by this object.
values = List<Object?>.unmodifiable(values) {
if (fieldNames.length != values.length) {
throw ArgumentError(
'FdcDataRecordKey.fieldNames and values must have the same length.',
);
}
}