forked from eatvio/eatvio_app
feat(plans) Plans create and edit API connect, TextController management and redirect
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// ignore_for_file: must_be_immutable
|
||||
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
/// This class defines the variables used in the [plan_create_screen],
|
||||
/// and is typically used to hold data that is passed between different parts of the application.
|
||||
|
||||
class PlanCreateModel extends Equatable {
|
||||
final String planID;
|
||||
|
||||
PlanCreateModel({required String planID}) : planID = planID;
|
||||
|
||||
PlanCreateModel copyWith(String planID) {
|
||||
return PlanCreateModel(planID: planID);
|
||||
}
|
||||
|
||||
@override
|
||||
List<Object?> get props => [planID];
|
||||
}
|
||||
Reference in New Issue
Block a user