factory VoiceSignalMic.fromJson(Map<String, dynamic> json) => VoiceSignalMic( state: OnOff.fromWire(json['state'] as String), );