ResourcePath.fromJson constructor

ResourcePath.fromJson(
  1. Map json_
)

Implementation

ResourcePath.fromJson(core.Map json_)
    : this(
        nodes: json_.containsKey('nodes')
            ? (json_['nodes'] as core.List)
                .map((value) => ResourcePathNode.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );