Switch.fromJson constructor Null safety

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

Implementation

factory Switch.fromJson(Map<String, dynamic> json) = _$Switch.fromJson;