KmlSchema constructor

KmlSchema({
  1. required List<KmlSimpleField> fields,
  2. required String name,
  3. required String schemaId,
})

Creates a schema from an array of KmlSimpleField objects, a name, and an ID.

Schema ID should be unique.

Parameters:

  • fields — An array of simple fields.
  • name — The name of the schema.
  • schemaId — The ID of the schema.