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