GoogleCloudDialogflowCxV3ImportFlowRequest.fromJson constructor

GoogleCloudDialogflowCxV3ImportFlowRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3ImportFlowRequest.fromJson(core.Map json_)
    : this(
        flowContent: json_.containsKey('flowContent')
            ? json_['flowContent'] as core.String
            : null,
        flowImportStrategy: json_.containsKey('flowImportStrategy')
            ? GoogleCloudDialogflowCxV3FlowImportStrategy.fromJson(
                json_['flowImportStrategy']
                    as core.Map<core.String, core.dynamic>)
            : null,
        flowUri: json_.containsKey('flowUri')
            ? json_['flowUri'] as core.String
            : null,
        importOption: json_.containsKey('importOption')
            ? json_['importOption'] as core.String
            : null,
      );