Achievement.fromJson constructor

Achievement.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Achievement.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  identifier = json['identifier'];
  title = json['title'];
  subTitle = json['subTitle'];
  description = json['description'];
  targetType = json['targetType'];
  target = json['target'];
  expiry = json['expiry'];
  expiryDays = json['expiryDays'];
  expiryDate = json['expiryDate'];
  accumulate = json['accumulate'];
  isActive = json['isActive'];
  updatedAt = json['updatedAt'];
  iconLink = json['iconLink'];
  levelOrderNumber = json['levelOrderNumber'];
}