Parse from a json
factory CallStateError.fromJson(Map<String, dynamic> json) => CallStateError( error: TdError.fromJson(json['error']), );