mapToSqlParameter method

  1. @override
Object mapToSqlParameter(
  1. GeopolyPolygon dartValue
)
override

Maps the dartValue to a value understood by the underlying database driver.

Implementation

@override
Object mapToSqlParameter(GeopolyPolygon dartValue) {
  switch (dartValue) {
    case GeopolyPolygonString(:final value):
      return value;
    case GeopolyPolygonBlob(:final value):
      return value;
  }
}