getChangeDateTimeFromMapJson method

String getChangeDateTimeFromMapJson(
  1. String json
)

Implementation

String getChangeDateTimeFromMapJson(String json) {
  return json.replaceAllMapped(
    regexDateTime,
    (match) => 'DateTime.tryParse(${match.group(0)})?$responseDateFormat',
  );
}