AchievementModel class

Constructors

AchievementModel.new({String? expiryDate, String? id, String? identifier, String? title, String? subTitle, String? description, String? iconLink, String? targetType, int? target, String? webhookUrl, String? webhookPostBodyCredentials, String? expiry, String? expiryDays, bool? accumulate, bool? isActive, String? levelOrderNumber, bool? canOptOut, Metadata? metadata, String? levelProgressFactor, Metadata? transactionRewardDetail, String? importHash, DateTime? createdAt, DateTime? updatedAt, String? deletedAt, String? tenantId, String? createdById, String? updatedById})
AchievementModel.fromJson(Map<String, dynamic> json)
factory

Properties

accumulate bool?
final
canOptOut bool?
final
createdAt DateTime?
final
createdById String?
final
deletedAt String?
final
description String?
final
expiry String?
final
expiryDate String?
final
expiryDays String?
final
hashCode int
The hash code for this object.
no setterinherited
final
id String?
final
identifier String?
final
importHash String?
final
isActive bool?
final
levelOrderNumber String?
final
levelProgressFactor String?
final
metadata Metadata?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subTitle String?
final
target int?
final
targetType String?
final
tenantId String?
final
title String?
final
transactionRewardDetail Metadata?
final
updatedAt DateTime?
final
updatedById String?
final
webhookPostBodyCredentials String?
final
webhookUrl String?
final

Methods

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

Operators

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