operator [] method
Implementation
FluentJson operator [](dynamic accessor) {
return switch (_elementAt(accessor, couldBeNull: false)) {
null => throw Exception('''json[$accessor] resulted in null.
${_describeForException()}'''),
final json => FluentJson(
json: json,
breadCrumbs: [breadCrumbs, accessor],
),
};
}