toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final day = this.day;
  final hours = this.hours;
  final minutes = this.minutes;
  final month = this.month;
  final nanos = this.nanos;
  final seconds = this.seconds;
  final timeZone = this.timeZone;
  final utcOffset = this.utcOffset;
  final year = this.year;
  return {
    'day': ?day,
    'hours': ?hours,
    'minutes': ?minutes,
    'month': ?month,
    'nanos': ?nanos,
    'seconds': ?seconds,
    'timeZone': ?timeZone,
    'utcOffset': ?utcOffset,
    'year': ?year,
  };
}