EventChannelDecode.fromJson(Map<String, dynamic> json) { eventReceivedData = json['message']; methodName = json['methodName']; }