NodeSpec.fromJson constructor

NodeSpec.fromJson(
  1. Map json_
)

Implementation

NodeSpec.fromJson(core.Map json_)
    : this(
        multisliceParams: json_.containsKey('multisliceParams')
            ? MultisliceParams.fromJson(json_['multisliceParams']
                as core.Map<core.String, core.dynamic>)
            : null,
        node: json_.containsKey('node')
            ? Node.fromJson(
                json_['node'] as core.Map<core.String, core.dynamic>)
            : null,
        nodeId: json_.containsKey('nodeId')
            ? json_['nodeId'] as core.String
            : null,
        parent: json_.containsKey('parent')
            ? json_['parent'] as core.String
            : null,
      );