KindMeaning class
Describes meaning of a EntityKind in some structured data vocabulary.
Example
In this example, we refer to schema.org/Person:
import 'package:kind/kind.dart';
class Person extends Entity {
static final EntityKind<Person> kind = EntityKind<Person>(
// ...
meanings: [
KindMeaning.schemaOrg('Person'),
],
// ...
);
// ...
}
Constructors
- KindMeaning(String schemaUrl, String name)
-
Defines URL of the namespace and name in the namespace.
const
- KindMeaning.schemaOrg(String kindName)
-
A shorthand for schema.org meanings.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- microDataSchemaUrl → String
-
no setter
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaUrl → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
-
kind
→ EntityKind<
KindMeaning> -
Kind for
KindMeaning
.final -
kind_
→ EntityKind<
KindMeaning> -
final