OccurrenceGeometry.fromJson constructor

OccurrenceGeometry.fromJson(
  1. Map<String, dynamic> j
)

Implementation

factory OccurrenceGeometry.fromJson(Map<String, dynamic> j) => OccurrenceGeometry(
      GeometryKind.from(j['kind']),
      _objList(j['points']).map(Point.fromJson).toList(),
      j['reader'] == null ? null : EngineKind.from(j['reader']),
    );