toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (date != null) 'date': date!,
      if (day != null) 'day': day!,
      if (hour != null) 'hour': hour!,
      if (minute != null) 'minute': minute!,
      if (truncated != null) 'truncated': truncated!,
    };