this repo has no description
at main 15 lines 536 B view raw
1import 'package:freezed_annotation/freezed_annotation.dart'; 2 3part 'create_gallery_request.freezed.dart'; 4part 'create_gallery_request.g.dart'; 5 6/// Request model for creating a gallery. 7/// See lexicon: social.grain.gallery.createGallery 8@freezed 9class CreateGalleryRequest with _$CreateGalleryRequest { 10 const factory CreateGalleryRequest({required String title, String? description}) = 11 _CreateGalleryRequest; 12 13 factory CreateGalleryRequest.fromJson(Map<String, dynamic> json) => 14 _$CreateGalleryRequestFromJson(json); 15}