Map<String, Object?> toJson() { var id = this.id; var key = this.key; var self = this.self; final json = <String, Object?>{}; json[r'id'] = id; json[r'key'] = key; json[r'self'] = self; return json; }