escapeVariable function Null safety

String escapeVariable(
  1. String name
)

Implementation

String escapeVariable(String name) =>
    Uri.encodeQueryComponent(name).replaceAll('+', '%20');