ClientStatusRequest.fromJson constructor

ClientStatusRequest.fromJson(
  1. Map json_
)

Implementation

ClientStatusRequest.fromJson(core.Map json_)
    : this(
        excludeResourceContents: json_.containsKey('excludeResourceContents')
            ? json_['excludeResourceContents'] as core.bool
            : null,
        node: json_.containsKey('node')
            ? Node.fromJson(
                json_['node'] as core.Map<core.String, core.dynamic>)
            : null,
        nodeMatchers: json_.containsKey('nodeMatchers')
            ? (json_['nodeMatchers'] as core.List)
                .map((value) => NodeMatcher.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );