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