PlacementStrategy.fromJson constructor

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

Implementation

factory PlacementStrategy.fromJson(Map<String, dynamic> json) {
  return PlacementStrategy(
    field: json['field'] as String?,
    type: (json['type'] as String?)?.toPlacementStrategyType(),
  );
}