Practice constructor
Practice({
- required int id,
- required String name,
- required String location,
- required String responsibleForInformation,
- required String url,
- required String imageUrl,
- required String whereItIsRealized,
- required String summaryDescription,
- required String practicalImplementationOfThePractice,
- required String typeOfAgroecologicalPractice,
- required String whyYouUseAndWhatYouExpectFromThisPractice,
- required String landSize,
- required String substitutionOfLessEcologicalAlternative,
- required String agroecologyPrinciplesAddressed,
- required String foodSystemComponentsAddressed,
- required String generalPerformanceOfPractice,
- required String unintendedPositiveSideEffectsOfPractice,
- required String unintendedNegativeSideEffectOfPractice,
- required String knowledgeAndSkillsRequiredForPractice,
- required String labourRequiredForPractice,
- required String costAssociatedWithPractice,
- required String doesItWorkInDegradedEnvironments,
- required String doesItHelpRestoreLand,
- required String climateChangeVulnerabilityEffects,
- required String timeRequirements,
- required String generalPerformanceOfPracticeDetails,
- required String unintendedPositiveSideEffectsOfPracticeDetails,
- required String unintendedNegativeSideEffectOfPracticeDetails,
- required String knowledgeAndSkillsRequiredForPracticeDetails,
- required String labourRequiredForPracticeDetails,
- required String costAssociatedWithPracticeDetails,
- required String doesItWorkInDegradedEnvironmentsDetails,
- required String doesItHelpRestoreLandDetails,
- required String climateChangeVulnerabilityEffectsDetails,
- required String timeRequirementsDetails,
- required String knowledgeSource,
- required String knowledgeTiming,
- required String knowledgeProducts,
- required String uptakeMotivation,
- required String knowledgeSourceDetails,
- required String knowledgeTimingDetails,
- required String accountId,
- required String locationId,
Implementation
Practice({
required this.id,
required this.name,
required this.location,
required this.responsibleForInformation,
required this.url,
required this.imageUrl,
required this.whereItIsRealized,
required this.summaryDescription,
required this.practicalImplementationOfThePractice,
required this.typeOfAgroecologicalPractice,
required this.whyYouUseAndWhatYouExpectFromThisPractice,
required this.landSize,
required this.substitutionOfLessEcologicalAlternative,
required this.agroecologyPrinciplesAddressed,
required this.foodSystemComponentsAddressed,
required this.generalPerformanceOfPractice,
required this.unintendedPositiveSideEffectsOfPractice,
required this.unintendedNegativeSideEffectOfPractice,
required this.knowledgeAndSkillsRequiredForPractice,
required this.labourRequiredForPractice,
required this.costAssociatedWithPractice,
required this.doesItWorkInDegradedEnvironments,
required this.doesItHelpRestoreLand,
required this.climateChangeVulnerabilityEffects,
required this.timeRequirements,
required this.generalPerformanceOfPracticeDetails,
required this.unintendedPositiveSideEffectsOfPracticeDetails,
required this.unintendedNegativeSideEffectOfPracticeDetails,
required this.knowledgeAndSkillsRequiredForPracticeDetails,
required this.labourRequiredForPracticeDetails,
required this.costAssociatedWithPracticeDetails,
required this.doesItWorkInDegradedEnvironmentsDetails,
required this.doesItHelpRestoreLandDetails,
required this.climateChangeVulnerabilityEffectsDetails,
required this.timeRequirementsDetails,
required this.knowledgeSource,
required this.knowledgeTiming,
required this.knowledgeProducts,
required this.uptakeMotivation,
required this.knowledgeSourceDetails,
required this.knowledgeTimingDetails,
required this.accountId,
required this.locationId,
}) : base64Image = '',
hasPermission = false,
createdAt = '',
updatedAt = '';