substitute function

String substitute(
  1. String source,
  2. Map? values,
  3. String encodeValue(
    1. dynamic value,
    2. String? type
    )
)

Implementation

String substitute(String source, Map? values,
    String encodeValue(value, String? type))
=> _substitute(source, values == null ? _nullValueEncoder:
    _createMapValueEncoder(values, encodeValue), encodeValue);