VisualDebuggerConfig.fromMap constructor

VisualDebuggerConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory VisualDebuggerConfig.fromMap(Map<String, dynamic> map) {
  return VisualDebuggerConfig(
    showConveyingBuffers: map['showConveyingBuffers'] ?? false,
    showRawUserCoordinate: map['showRawUserCoordinate'] ?? false,
    showBuildingSelection: map['showBuildingSelection'] ?? false,
    showBuildingsSearchViewport: map['showBuildingsSearchViewport'] ?? false,
  );
}