toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (achievementId != null) 'achievementId': achievementId!,
      if (incrementPayload != null) 'incrementPayload': incrementPayload!,
      if (kind != null) 'kind': kind!,
      if (setStepsAtLeastPayload != null)
        'setStepsAtLeastPayload': setStepsAtLeastPayload!,
      if (updateType != null) 'updateType': updateType!,
    };