toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (dailyRecurrence != null) 'dailyRecurrence': dailyRecurrence!,
      if (name != null) 'name': name!,
      if (retention != null) 'retention': retention!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (weeklyRecurrence != null) 'weeklyRecurrence': weeklyRecurrence!,
    };