requireCompatibleWith method
- CreditContract other, {
- required String context,
Requires two specified contracts to agree where both carry metadata.
Implementation
void requireCompatibleWith(
CreditContract other, {
required String context,
}) {
if (isSpecified && other.isSpecified && this != other) {
throw ArgumentError(
'$context connects incompatible credit contracts '
'($configurationIdentity versus ${other.configurationIdentity}).',
);
}
}