KmlSchema class final
A KML schema defines the structure of schema data for the extended data of nodes in a KmlDocument.
Each KML schema consists of a name, schema ID, and a collection of KmlSimpleField objects. A single KML document can contain a number of different KML schemas.
- Implemented types
Constructors
-
KmlSchema({required List<
KmlSimpleField> fields, required String name, required String schemaId}) -
Creates a schema from an array of KmlSimpleField objects, a name, and an
ID.
factory
Properties
-
fields
→ List<
KmlSimpleField> -
A collection of KML simple fields.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the schema defined in the KML file.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaId → String
-
The ID of the schema defined in the KML file.
no setter
Methods
-
getField(
{required String name}) → KmlSimpleField? - Returns the simple field object with the given name, or null if no such field exists.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited