GeoMatchConstraint.fromJson constructor

GeoMatchConstraint.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GeoMatchConstraint.fromJson(Map<String, dynamic> json) {
  return GeoMatchConstraint(
    type: (json['Type'] as String).toGeoMatchConstraintType(),
    value: (json['Value'] as String).toGeoMatchConstraintValue(),
  );
}