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_edit_screen],
|
||||
/// and is typically used to hold data that is passed between different parts of the application.
|
||||
|
||||
class PlanEditModel extends Equatable {
|
||||
final String planID;
|
||||
|
||||
PlanEditModel({required String planID}) : planID = planID;
|
||||
|
||||
PlanEditModel copyWith(String planID) {
|
||||
return PlanEditModel(planID: planID);
|
||||
}
|
||||
|
||||
@override
|
||||
List<Object?> get props => [planID];
|
||||
}
|
||||
Reference in New Issue
Block a user