Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'error'] = this.error; return json; }