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