toMap method
Implementation
Map<String, int> toMap() => <String, int>{
'year': year,
'month': month,
'day': day,
'hour': hour,
'minute': minute,
'second': second,
'millisecond': millisecond,
'microsecond': microsecond,
'timeZoneOffset': timeZoneOffset,
'isUtc': isUtc ? 0 : 1,
};