forked from eatvio/eatvio_app
feat(feed): add recipes screen
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'photo.freezed.dart';
|
||||
|
||||
part 'photo.g.dart';
|
||||
|
||||
@freezed
|
||||
class Photo with _$Photo {
|
||||
const factory Photo({
|
||||
required int id,
|
||||
@JsonKey(name: 'original_name')
|
||||
required String originalName,
|
||||
@JsonKey(name: 'original_name') required String originalName,
|
||||
required String path,
|
||||
}) = _Photo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user