toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final achievementType = this.achievementType;
  final draft = this.draft;
  final id = this.id;
  final initialState = this.initialState;
  final kind = this.kind;
  final published = this.published;
  final stepsToUnlock = this.stepsToUnlock;
  final token = this.token;
  return {
    'achievementType': ?achievementType,
    'draft': ?draft,
    'id': ?id,
    'initialState': ?initialState,
    'kind': ?kind,
    'published': ?published,
    'stepsToUnlock': ?stepsToUnlock,
    'token': ?token,
  };
}