decodeCollectionHex<T extends Geometry> static method

GeometryCollection<T> decodeCollectionHex<T extends Geometry>(
  1. String bytesHex, {
  2. BinaryFormat<GeometryContent> format = WKB.geometry,
  3. CoordRefSys? crs,
  4. Map<String, dynamic>? options,
})

Decodes a geometry collection with elements of T from bytesHex (as a hex string) conforming to format.

See decodeCollection for more information.

Implementation

static GeometryCollection<T> decodeCollectionHex<T extends Geometry>(
  String bytesHex, {
  BinaryFormat<GeometryContent> format = WKB.geometry,
  CoordRefSys? crs,
  Map<String, dynamic>? options,
}) =>
    decodeCollection(
      Uint8ListUtils.fromHex(bytesHex),
      format: format,
      crs: crs,
      options: options,
    );