ChildLink.fromJson constructor

ChildLink.fromJson(
  1. Map json_
)

Implementation

ChildLink.fromJson(core.Map json_)
    : this(
        childIndex: json_.containsKey('childIndex')
            ? json_['childIndex'] as core.int
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        variable: json_.containsKey('variable')
            ? json_['variable'] as core.String
            : null,
      );