WindowControlsOverlayConfig.fromJson constructor

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

Implementation

factory WindowControlsOverlayConfig.fromJson(Map<String, dynamic> json) {
  return WindowControlsOverlayConfig(
    showCSS: json['showCSS'] as bool? ?? false,
    selectedPlatform: json['selectedPlatform'] as String,
    themeColor: json['themeColor'] as String,
  );
}