PlanModel class

PlanModel represents a workout plan

Annotations

Constructors

PlanModel({required String id, required String imgURL, required String title, required PlanModelCategory category, required Map<String, PlanLevel> levels, required String createdBy, Map<String, dynamic>? rawJSON})
const
PlanModel.fromJson(Map<String, dynamic> json)
factory

Properties

category PlanModelCategory
final
createdBy String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
imgURL String
final
levels Map<String, PlanLevel>
final
rawJSON Map<String, dynamic>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited