symbolicAddressMappingId property

  1. @override
String get symbolicAddressMappingId
override

Stable identity of the address mapping used by symbolic writes.

Implementation

@override
String get symbolicAddressMappingId {
  if (!hasCustomAddressAlignment && unknownAddressMatcher == null) {
    return 'identity';
  }
  if (unknownAddressMatcher == null ||
      unknownAddressMappingId == null ||
      unknownAddressMappingId!.isEmpty ||
      unknownAddressMappingId == 'identity') {
    throw UnsupportedError('Custom symbolic address mapping requires a '
        'matcher and a nonempty, non-identity mapping ID.');
  }
  return unknownAddressMappingId!;
}