Date constructor

Date(
  1. Map<String, dynamic> nativeDate
)

Represents the extracted date.

Implementation

Date(Map<String, dynamic> nativeDate) {
  day = nativeDate['date']['day'];
  month = nativeDate['date']['month'];
  year = nativeDate['date']['year'];
}