@override Geometry? toDaoValue(data) { if (data == null) { return null; } if (data is Uint8List) { return Geometry.parseEWKB(data); } throw Exception('Invalid geography data.'); }