toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'name'] = this.name;
json[r'type'] = this.type;
json[r'slug'] = this.slug;
json[r'created_on'] = this.createdOn.toUtc().toIso8601String();
json[r'price'] = this.price;
return json;
}