GetDiagnosticsTree.deserialize constructor

GetDiagnosticsTree.deserialize(
  1. Map<String, String> json,
  2. DeserializeFinderFactory finderFactory
)

Deserializes this command from the value generated by serialize.

Implementation

GetDiagnosticsTree.deserialize(super.json, super.finderFactory)
    : subtreeDepth = int.parse(json['subtreeDepth']!),
      includeProperties = json['includeProperties'] == 'true',
      diagnosticsType = _diagnosticsTypeIndex.lookupBySimpleName(json['diagnosticsType']!),
      super.deserialize();