FlexiDateData.fromMap constructor

FlexiDateData.fromMap(
  1. Map toParse
)

from a map, assuming keys kday, kmonth, kyear

Implementation

FlexiDateData.fromMap(Map toParse)
    : day = _tryParseInt(toParse[kday]),
      month = _tryParseInt(toParse[kmonth]),
      year = _tryParseInt(toParse[kyear]),
      // ignore: prefer_initializing_formals
      source = toParse,
      isAmbiguous = false;