AnalyzeSyntaxRequest.fromJson constructor

AnalyzeSyntaxRequest.fromJson(
  1. Map json_
)

Implementation

AnalyzeSyntaxRequest.fromJson(core.Map json_)
    : this(
        document: json_.containsKey('document')
            ? Document.fromJson(
                json_['document'] as core.Map<core.String, core.dynamic>)
            : null,
        encodingType: json_.containsKey('encodingType')
            ? json_['encodingType'] as core.String
            : null,
      );