encode method
Implementation
Object encode() {
final Map<Object?, Object?> pigeonMap = <Object?, Object?>{};
pigeonMap['major'] = major;
pigeonMap['middle'] = middle;
pigeonMap['minor'] = minor;
pigeonMap['build'] = build;
pigeonMap['year'] = year;
pigeonMap['month'] = month;
pigeonMap['day'] = day;
pigeonMap['hour'] = hour;
pigeonMap['minute'] = minute;
return pigeonMap;
}