mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-24 13:47:24 +00:00
13 lines
236 B
Dart
13 lines
236 B
Dart
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'post.freezed.dart';
|
|
|
|
@freezed
|
|
class Post with _$Post {
|
|
const factory Post({
|
|
required int id,
|
|
required String title,
|
|
required String body,
|
|
}) = _Post;
|
|
}
|