CommandSetTyping.fromJson constructor

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

Implementation

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