datetimeFromString static method

DateTime datetimeFromString(
  1. String data, {
  2. dynamic format = 'dd/MM/yyyy',
})

Implementation

static DateTime datetimeFromString(String data, {format = 'dd/MM/yyyy'}) {
  return DateFormat(format).parse(data);
}