encode method Null safety

String encode(
  1. String path
)

Helper method to encode the specified path in Modified UTF7 encoding.

Implementation

static String encode(String path) {
  return _modifiedUtf7Codec.encodeText(path);
}