SchemaStatisticalPopulation class
A StatisticalPopulation is a set of instances of a certain given
type that satisfy some set of constraints The property
[populationType] is used to specify the type Any property that
can be used on instances of that type can appear on the
statistical population For example, a [StatisticalPopulation
]
representing all [Person
]s with a [homeLocation
] of East
Podunk California would be described by applying the appropriate
[homeLocation
] and [populationType] properties to a
[StatisticalPopulation
] item that stands for that set of
people The properties [numConstraints
] and
[constraintProperty
] are used to specify which of the
populations properties are used to specify the population Note
that the sense of "population" used here is the general sense of
a statistical population, and does not imply that the population
consists of people For example, a [populationType] of
[Event] or [NewsArticle
] could be used See also
[Observation
], where a [populationType] such as [Person
]
or [Event] can be indicated directly In most cases it may be
better to use [StatisticalVariable
] instead of
[StatisticalPopulation
].
See https://schema.org/StatisticalPopulation
Constructors
- SchemaStatisticalPopulation.new({SchemaClass? populationType, String? additionalType, String? alternateName, dynamic description, String? disambiguatingDescription, dynamic identifier, dynamic image, dynamic mainEntityOfPage, String? name, SchemaAction? potentialAction, String? sameAs, dynamic subjectOf, String? url})
- Create a new instance of SchemaStatisticalPopulation
Properties
- additionalType ↔ String?
-
//schema.org/docs/styleguide.html">style guide. Supported
types: String, String
getter/setter pair
- alternateName ↔ String?
-
An alias for the item.
getter/setter pair
- description ↔ dynamic
-
A description of the item. Supported types: String,
TextObject
getter/setter pair - disambiguatingDescription ↔ String?
-
A sub property of description A short description of the item
used to disambiguate from other, similar items Information from
other properties (in particular, name) may be necessary for the
description to be useful for disambiguation.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ dynamic
-
The identifier property represents any kind of identifier for
any kind of [
Thing
], such as ISBNs, GTIN codes, UUIDs etc Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links See background notes for more details Supported types:PropertyValue
, String, Stringgetter/setter pair - image ↔ dynamic
-
An image of the item This can be a [
URL
] or a fully described [ImageObject
]. Supported types:ImageObject
, Stringgetter/setter pair - mainEntityOfPage ↔ dynamic
-
Indicates a page (or other CreativeWork) for which this thing is
the main entity being described See background
notes for details.
Supported types:
CreativeWork
, Stringgetter/setter pair - name ↔ String?
-
The name of the item.
getter/setter pair
- populationType ↔ SchemaClass?
-
Indicates the populationType common to all members of a
[
StatisticalPopulation
] or all cases within the scope of a [StatisticalVariable
].getter/setter pair - potentialAction ↔ SchemaAction?
-
Indicates a potential Action, which describes an idealized
action in which this thing would play an 'object' role.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameAs ↔ String?
-
URL of a reference Web page that unambiguously indicates the
item's identity E.g the URL of the item's Wikipedia page,
Wikidata entry, or official website.
getter/setter pair
- subjectOf ↔ dynamic
-
A CreativeWork or Event about this Thing. Supported types:
CreativeWork
, Eventgetter/setter pair - url ↔ String?
-
URL of the item.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonLd(
) → Map< String, dynamic> - Serialize SchemaStatisticalPopulation to JSON-LD
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited