toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (cronSchedule != null) 'cronSchedule': cronSchedule!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (executionTemplate != null) 'executionTemplate': executionTemplate!,
      if (name != null) 'name': name!,
      if (recentExecutions != null) 'recentExecutions': recentExecutions!,
      if (state != null) 'state': state!,
      if (timeZone != null) 'timeZone': timeZone!,
      if (updateTime != null) 'updateTime': updateTime!,
    };