forked from eatvio/eatvio_app
21 lines
592 B
Dart
21 lines
592 B
Dart
import 'package:eatvio_app/features/feed/models/plan_pagination_model.dart';
|
|
import 'package:flutter_image_compress/flutter_image_compress.dart';
|
|
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'create_plan_model.freezed.dart';
|
|
|
|
@freezed
|
|
abstract class CreatePlanModel with _$CreatePlanModel {
|
|
const CreatePlanModel._();
|
|
|
|
const factory CreatePlanModel({
|
|
String? name,
|
|
String? details,
|
|
@Default('active') String? state,
|
|
int? duration,
|
|
required List<bool> type,
|
|
XFile? image,
|
|
required List<PacketOptions> options,
|
|
}) = _CreatePlanModel;
|
|
}
|