FlexiDateData.fromDateTime constructor

FlexiDateData.fromDateTime(
  1. DateTime dateTime
)

Implementation

FlexiDateData.fromDateTime(DateTime dateTime)
    : day = dateTime.day,
      month = dateTime.month,
      year = dateTime.year,
      // ignore: prefer_initializing_formals
      source = dateTime,
      isAmbiguous = false;