getChangeDateTimeFromMapJsonBody method

String getChangeDateTimeFromMapJsonBody(
  1. String json
)

Implementation

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