TranslationToggledEvent.fromJson constructor

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

Implementation

TranslationToggledEvent.fromJson(Map<String, dynamic> json)
    : conversation = ConversationData.fromJson(json['conversation']),
      isEnabled = json['isEnabled'];