Installation
Installation guide for CozyData.
Setting up CozyData is straightforward. Follow these steps to add CozyData to your Flutter project.
Add to pubspec.yaml
To get started,Follow these steps.
1
Step 1: Add Dependencies:
Open your pubspec.yaml
file and add the following dependencies:
dependencies:
cozy_data: latest
dart_mappable: latest
dev_dependencies:
build_runner: any
dart_mappable_builder: any
2
Step 2: Install Dependencies
Run the following command to install the dependencies:
flutter pub get
3
Step 3: Import CozyData
In your Dart code, import the CozyData package:
import 'package:cozy_data/cozy_data.dart';
With these steps, you’ll have CozyData set up and ready to use in your Flutter project.