fragment property

String? fragment
final

The fragment identifier for vocabulary generation mode.

When using the .define() constructor, this field can optionally specify a custom fragment for the class in the generated vocabulary. If not specified, the fragment is derived from the Dart class name.

This is the analogue of RdfProperty.define's fragment parameter, but for the class IRI: vocab.appBaseUri + vocab.vocabPath + '#' + fragment.

This field is null for all non-define constructors.

Implementation

final String? fragment;