getPath function

String getPath (
  1. String path
)

Implementation

String getPath(String path) =>
    path.split('.').fold('context', (t, p) => "$t['$p']");